k210-sdk-stuff/rust/rgbcontrol
2019-05-31 16:17:11 +00:00
..
src rust: make PWM usable with every timer 2019-05-31 16:17:11 +00:00
.gitignore rust: Add rgbcontrol 2019-05-23 13:53:02 +00:00
Cargo.toml rust: Add rgbcontrol 2019-05-23 13:53:02 +00:00
README.md rust: Add rgbcontrol 2019-05-23 13:53:02 +00:00

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.