almindor / st7789

Rust library for displays using the ST7735 driver
https://docs.rs/st7735-lcd
MIT License
49 stars 25 forks source link

Provide an optimized clear implementation #4

Closed therealprof closed 4 years ago

therealprof commented 4 years ago

By bypassing the the rectangle and draw iteration code and directly sending a frame worth of pixels to the display the screen clear time reduced from 0.329s to 0.077s in my test code.

Signed-off-by: Daniel Egger daniel@eggers-club.de