k210-sdk-stuff/rust/rgbcontrol
Wladimir J. van der Laan e86d5c5f75 Use DMAC for display everywhere
This mimics the way the Kendryte SDK does things—it is better because
the MMIO based SPI tends to sometimes lose synchonization when the CPU
doesn't keep up providing data fast enough.
2019-08-07 10:22:05 +00:00
..
src Use DMAC for display everywhere 2019-08-07 10:22:05 +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.