hI friends i am having one doubt,is it possible to generate square wave using timer 0 if yes then how.With timer1 and 2 is it possible to generate square wave of freq 2KHZ.Plz frnds help me......
Hi,
Generally speaking, it should be possible, you program the timer for the required delay and on overflow in the interrupt routine, complement a port bit. If for some reason, one overflow is not sufficient, count the verflows in the interrupt routine and then complement the bit.