k210-sdk-stuff/rust/rgbcontrol
Wladimir J. van der Laan 00ac503e3e rust: clean up FPIOA interface
Remove need for .into() everywhere by accepting everything
that goes into usize in the appropriate methods.
2019-06-01 21:56:35 +00:00
..
src rust: clean up FPIOA interface 2019-06-01 21:56:35 +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.