You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I chose this library because of its small footprint and simple interfaces. Everything in my project works great except I need to be able to rotate the display 180 degrees. I believe the SSD1306 chip has the hardware capability for this, but I don't know how to do it. I imagine it would be a simple addition to the otherwise excellent library for someone that knows how to do it.
The text was updated successfully, but these errors were encountered:
Ok, I actually figured out how to do this. In oled.cpp lines 248 and 249 I changed i2c_send(0xA1); // segment remapping mode i2c_send(0xC8); // COM output scan direction
to i2c_send(0xA0); // segment remapping mode i2c_send(0xC0); // COM output scan direction
Perhaps overloading function begin() with begin(boolean rotate180)?
I chose this library because of its small footprint and simple interfaces. Everything in my project works great except I need to be able to rotate the display 180 degrees. I believe the SSD1306 chip has the hardware capability for this, but I don't know how to do it. I imagine it would be a simple addition to the otherwise excellent library for someone that knows how to do it.
The text was updated successfully, but these errors were encountered: