mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-24 02:16:18 +04:00
321 B
321 B
rgbcontrol
Control the color of the RGB LED from the touch screen.
Displays a HSV color picker and sets sets the color of the LED based on the position that is touched, with the intensity derived from the touch pressure.
Exercises the PWM functionality. Channel 1-3 of TIMER0 are assigned to the R, G and B pins.