WAVE FORMS
SHOOT THROUGH STATES (27KHz)
PROGRAM (COMPILER – MIKRO C)
//crystal of 16 MHz
#define s1 LATE.F0 //S1
#define s2 LATE.F1 //S2
void main()
{
TRISE.F0=0;TRISE.F1=0;
s1=0;s2=0;
while (1)
{
s1 =1; Delay_us(15); s2 =1;Delay_us(2);s1 =0;
s2 =1; Delay_us(15); s1 =1;Delay_us(2);s2 =0;
}
}
more at