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:
parent
d2772291bf
commit
aa59bc302d
3 changed files with 29 additions and 8 deletions
|
@ -14,6 +14,7 @@ bench = false
|
|||
panic-halt = "0.2"
|
||||
nb = "1.0"
|
||||
embedded-hal = "0.2"
|
||||
avr-device = { version = "0.3", features = ["atmega328p"] }
|
||||
|
||||
[dependencies.atmega-hal]
|
||||
git = "https://github.com/rahix/avr-hal"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue