fw-rust: Create a PWM signal for the backlight

To have a dimmable backlight, generate a variable duty-cycle PWM
signal which is consumed by the backlight driver circuit.
This commit is contained in:
finga 2022-03-04 12:59:51 +01:00
parent d2772291bf
commit aa59bc302d
3 changed files with 29 additions and 8 deletions

View file

@ -66,6 +66,7 @@ name = "clock-generator"
version = "0.1.0-dev"
dependencies = [
"atmega-hal",
"avr-device",
"embedded-hal",
"nb 1.0.0",
"panic-halt",