farzinkalali
Newbie level 3
hi
I am trying to write a program in bascom for attiny24 that after counting 200 pulses set the pina.2
would you please help me
my program is like this
thank you
I am trying to write a program in bascom for attiny24 that after counting 200 pulses set the pina.2
would you please help me
my program is like this
Code dot - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $regfile = "attiny24.dat " $crystal = 8000000 Config Timer0 = Counter , Edge = Rising Start: Tcnt0 = 0 Do Loop Until Tcnt0 = 200 End Set Pina.2 Wait 1 reset pina.2 End
thank you
Last edited by a moderator: