I am very new to PIC programming as a first off. I have a circuit I am working on with a PIC16F88 and I been programming it with JALv2. The circuit basically flashes a bunch of LED's. I have a program of flashes that run. I want to be able to hook up a SPTT switch. Switch it to the left side and it will run a set of code. Switch it to the right and it will run a separate set of code. Is this possible? I included my code it's missing the procedures as they are long but the main code and calls are in there.
Thank you for any help
Travis
Notes: I want the led flash coding to run until the switch is moved to the left or right pole.
Thank you for any help
Travis
Notes: I want the led flash coding to run until the switch is moved to the left or right pole.
Attachments
-
1.9 KB Views: 25
Last edited: