I have a simple circuit that is a battery operated rgb color switcher that runs on a PIC10F202; When the button is pressed, the single RGB LED changes to the next color in the sequence. When the battery is installed, the unit is on, and when the battery is removed the unit is off.
What I need is to have the code modified so that the uController behaves in the following manner:
1 Unit is off with battery installed
2 Button is pressed once
3 Unit turns on with last selected color illuminated
4 Successive button presses will cycle to the next color in the sequence (R->G->B->Y-C->M for example)
5 Unit will stay illuminated in the current selected color until,
6 Long press (2 seconds) will shut the unit off and save the last selected color in memory
7 Operation repeats as above
This may require some additional circuit design; the schematic is generally represented in the attached image.
This should be an extremely simple project, just need some assistance designing it.
36 фрилансеров(-а) готовы выполнить эту работу в среднем за $177
Hello, I've good experience working with Microchip PIC microcontrollers and I can help you update your circuit. Let me know if you have any questions.