Closed LilyGO closed 2 years ago
@LilyGO thanks.
I opened PR: https://github.com/bitbank2/OneBitDisplay/pull/26
Are those displays mounted flipped on TTGO 1.6 boards?
@LilyGO PR in the onebitdisplay library was merged today, thus your issue should be solved. Could you please re-test? Please make sure to have current version of onebitdisplay library.
Regarding the restart caused by the failure of the old initialization, the board model halffile = ttgov21new.h. The OLED driver may be SSD1306 or SSD1315. Most registers have the same function. Because there is no definition of SSD1315 in the driver library, we can use SD1306 directly.
The specific code needs to be modified as the obdI2CInit function in OneBitDisplay.cpp