nrf-rs / microbit

A Rust crate for BBC micro:bit development
BSD Zero Clause License
276 stars 61 forks source link

[WIP] Display/brightness #8

Closed droogmic closed 4 years ago

droogmic commented 6 years ago

WIP implementation of display brightness

Reimplementation of existing driver causes performance penalty in debug mode Need to decide if this is acceptable, or whether to duplicate functionality Run example with --release Final solution will need to use timers instead of delays, current led interface is therefore unstable

droogmic commented 6 years ago

+wishlist

display_normalised -> normalises input matrix to cover full brightness range