farzinkalali
Newbie level 3
- Joined
- Oct 29, 2014
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 30
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: