TinyCircuits / TinyCircuits-Thumby-Code-Editor

https://code.thumby.us/
GNU General Public License v3.0
30 stars 20 forks source link

Add invert() to thumbyGraphics class #40

Closed ace-dent closed 1 year ago

ace-dent commented 1 year ago

Extend the display API by breaking out invert() from ssd1306.

masonova1 commented 1 year ago

We don't want to expose hardware invert for the time being, because monochrome pixel inversion is trivial to do in software and avoids reliance on particular hardware features.

ace-dent commented 1 year ago

Thanks for reviewing. I think HW is easier than SW solution ... but ok. :-) Is there a reason to keep this (and related) HW shortcuts in SSD1306 then? (BTW - I'm looking at the API design for the Arduboy2 library, as a reference point).