k210-sdk-stuff/rust/rgbcontrol
Wladimir J. van der Laan d7eb8dd0e8 rust: sysctl PLL setting
Port over the terrible PLL frequency setting code, and use it to set up
the clocks for every demo.
2019-08-20 21:18:23 +00:00
..
src rust: sysctl PLL setting 2019-08-20 21:18:23 +00:00
.gitignore rust: Add rgbcontrol 2019-05-23 13:53:02 +00:00
Cargo.toml Dependencies bump 2019-07-02 17:20:39 +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.