Closed mattheww closed 9 months ago
The calculation in display::blocking::Display::set_refresh_rate was wrong for the micro:bit v2.
display::blocking::Display::set_refresh_rate
For example, set_refresh_rate(60) gave a refresh rate of 36Hz rather than 60Hz.
set_refresh_rate(60)
To see the difference, add
display.set_refresh_rate(60);
to examples/display-blocking/src/main.rs
examples/display-blocking/src/main.rs
The calculation in
display::blocking::Display::set_refresh_rate
was wrong for the micro:bit v2.For example,
set_refresh_rate(60)
gave a refresh rate of 36Hz rather than 60Hz.To see the difference, add
to
examples/display-blocking/src/main.rs