-
1Step 1
X-8266 x1
X-OLED x1
Simple 3D printed case X1
You can have a look at the pin map.
SDA is connected to D1.
SCL is connected to D2.
This two pins work as the IIC pins.
The other pins can be connected to other sensors.
The X-8266 can really do a lot of IOT works.
Here I will thank squix. He really do a great work for ESP8266 controlling OLED.
Here is my code:
https://github.com/lspoplove/D-duino/blob/master/A...
Remember change the library.
#include "SH1106.h"
SH1106 display(I2C_DISPLAY_ADDRESS, SDA_PIN, SDC_PIN);
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.