Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By sigrokBlack
#22689 HI,
respect, your code is awesome. Also working with the esp201 for the guys interested in.

Has somebody an idea how to turn the display at 180° so the pins are on top?

Greetings from germany
Joshua
User avatar
By miker
#22696 Comment & un-comment these two lines in OLED_MOD to rotate.

//sendcommand(0xA0 | 0x1); //SEGREMAP //Rotate screen 180 deg
sendcommand(0xA0);

//sendcommand(0xC8); //COMSCANDEC Rotate screen 180 Deg
sendcommand(0xC0);