Hello, I am starting using this amazing library, I am not an expert in cpp but a need to use it.
This simple example works as expected but the board I am using has the oled physically rotated 180 degrees, so I need to rotate it but I dont know how to do it. I believe it is a matter of cpp knowledge. I need to overcome this issue to follow with my tests. I'd really appreciate your help.
Hello, I am starting using this amazing library, I am not an expert in cpp but a need to use it. This simple example works as expected but the board I am using has the oled physically rotated 180 degrees, so I need to rotate it but I dont know how to do it. I believe it is a matter of cpp knowledge. I need to overcome this issue to follow with my tests. I'd really appreciate your help.
Thank you very much.
int main(int argc, char **argv) { DisplaySSD1306_128x64_I2C display((int8_t) 5, { -1, 0x3D, -1, -1, 0 }); display.begin(); display.clear(); display.drawLine(10,10,50,10); display.setFixedFont(ssd1306xled_font6x8); display.printFixed (0, 8, "Line 1. Normal text", STYLE_NORMAL); cout << "Finished!, press any key to continue" << endl; cin.get(); return EXIT_SUCCESS; }