nanovna-v2 / NanoVNA2-firmware

Firmware for NanoVNA V2
https://nanorfe.com/nanovna-v2.html
222 stars 87 forks source link

Add ili9341_clear_screen function. Use where appropriate. #12

Closed wutje closed 4 years ago

wutje commented 4 years ago

To reduce the usage of the magic numbers 320 and 240 (the screen resolution) I added the clear screen function. This function is also present in other nanovna firwmare. Perhaps in the future the function it self can be optimized have a quicker way of clearing the screen.

wutje commented 4 years ago

Drop this PR as @Dislord already added this in #11. And did so in a better way by adding foreground/background