PIC Assembly code - simple RGB push button
Budget: $30 – $250 USD
I need a simple assembly code for a PIC10F202 microcontroller that toggles between several colors of a single RGB LED with the press of a single momentary button.
In other words:
RGB starts in the off position
Single short button push illuminates red
Successive button push illuminates green, turns off red
Successive button push illuminates blue, turns off green
Successive button push illuminates red AND green
Successive button push illuminates green AND blue, turns off red
Successive button push illuminates blue AND red, turns off green
Successive button push turns off the RGB
You get the picture.
You should be familiar with the simple instruction set of pic10f20x.
In other words:
RGB starts in the off position
Single short button push illuminates red
Successive button push illuminates green, turns off red
Successive button push illuminates blue, turns off green
Successive button push illuminates red AND green
Successive button push illuminates green AND blue, turns off red
Successive button push illuminates blue AND red, turns off green
Successive button push turns off the RGB
You get the picture.
You should be familiar with the simple instruction set of pic10f20x.