sleep switch
Posted: Tue Jan 06, 2009 1:53 pm
Hi all and a happy new year!
Ok, I'm slowly getting to grips with flowcode and have put a program together to simulate a set of traffic lights for my sons play mat (street scene)
I would like the pic to go to sleep after say 10 mins to save the battery (he will lose interest after this time) and then I would like to awaken the pic again using a push to make non latching switch.
I am using the 12f629 chip using the internal osc.
I posted a thread late last year regarding the use of non latching switches but the reply, from Ben I think, shot over my head with the speed of a hamas rocket! I'm a programming virgin remember!
Could anyone point me in the right direction as to how to do this?
Ive attached the flowcode file for information.
cheers
Gaz
Ok, I'm slowly getting to grips with flowcode and have put a program together to simulate a set of traffic lights for my sons play mat (street scene)
I would like the pic to go to sleep after say 10 mins to save the battery (he will lose interest after this time) and then I would like to awaken the pic again using a push to make non latching switch.
I am using the 12f629 chip using the internal osc.
I posted a thread late last year regarding the use of non latching switches but the reply, from Ben I think, shot over my head with the speed of a hamas rocket! I'm a programming virgin remember!
Could anyone point me in the right direction as to how to do this?
Ive attached the flowcode file for information.
cheers
Gaz