wilker_dias
Newbie level 3
- Joined
- Oct 20, 2009
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- brazil
- Activity points
- 1,309
HI, good nigth everyone ..
I´m making a memory gam with 8 button and a need a help how to make a C program in CCS COMPILER
for to make such task :
- if the button D1 is pressed Hold during 3 seconds turn ON the PIC.
- and if the button D1 is pressed Hold again during 3 seconds turn OFF the PIC.
What kind of method should I use .. => INTERRUPTS, TIMERS , WDT, POWER UP ??
Thanks ya since now ...
I´m making a memory gam with 8 button and a need a help how to make a C program in CCS COMPILER
for to make such task :
- if the button D1 is pressed Hold during 3 seconds turn ON the PIC.
- and if the button D1 is pressed Hold again during 3 seconds turn OFF the PIC.
What kind of method should I use .. => INTERRUPTS, TIMERS , WDT, POWER UP ??
Thanks ya since now ...
Last edited: