The ESP8266 board with an attached 0.96 inch OLED display is a great deal. I bought is for about 6 Euros. The full title of my offering was “NodeMCU ESP8266 Development Board w/0.96” OLED Display CH340 Driver Module USB-C".
Unfortunately. the description in the offering is incorrect and the OLED display does not work as expected when using the code/values given in the description.
In the description, the SCA and SCL port numbers are interchanged. Here is a short working example with the correct values:
|
|
The relevant part is in the constructor of the u8g2
instance. Make sure to use the
correct values for SCA and SCL.