adafruit / Adafruit_SSD1306

Arduino library for SSD1306 monochrome 128x64 and 128x32 OLEDs
http://www.adafruit.com/category/63_98
Other
1.81k stars 984 forks source link

SSD1306_INVERT mentioned in comments is not defined anywhere, should be SSD1306_INVERSE #224

Closed povanspring closed 3 years ago

povanspring commented 3 years ago

Many comments in Adafruit_SSD1306.cpp, specifically lines 630, 688, 737, 788, and 836, say to use "SSD1306_INVERT" which is not defined in Adafruit_SSD1306.h and the actual term should be "SSD1306_INVERSE" defined on line 70.

I noticed this when trying to use drawPixel with the documentation found here.

ladyada commented 3 years ago

thanks! can you submit a PR with the typo fix?

povanspring commented 3 years ago

I honestly don't know how to do a pull request and have never used GIT stuff before. I was just playing with an ESP32 and ran into this while looking at the documentation. If someone else could fix it, I'd be thankful.