esp-012e / Sparkfun Micro OLED
Posted: Fri Nov 30, 2018 12:35 pm
Hello,
I try to connect a Micro Oled screen https://learn.sparkfun.com/tutorials/micro-oled-breakout-hookup-guide/all to an ESP-12E without success.
I've set
CS to 9
RST to 10
D/C to 11
SCK to 15
SDI to 13
In the software:
#define PIN_RESET 10 // Connect RST to pin 9 (req. for SPI and I2C)
#define PIN_DC 13 // Connect DC to pin 8 (required for SPI)
#define PIN_CS 14 // Connect CS to pin 10 (required for SPI)
//#define DC_JUMPER 0 // (I2C only) Set to either 0 or 1, matching the value of the DC Jumper
// Declare a MicroOLED object. The parameters include:
// 1 - Reset pin: Any digital pin
// 2 - D/C pin: Any digital pin (SPI mode only)
// 3 - CS pin: Any digital pin (SPI mode only, 10 recommended)
MicroOLED oled(PIN_RESET, PIN_DC, PIN_CS);
Thank you for your help!
Renaud
I try to connect a Micro Oled screen https://learn.sparkfun.com/tutorials/micro-oled-breakout-hookup-guide/all to an ESP-12E without success.
I've set
CS to 9
RST to 10
D/C to 11
SCK to 15
SDI to 13
In the software:
#define PIN_RESET 10 // Connect RST to pin 9 (req. for SPI and I2C)
#define PIN_DC 13 // Connect DC to pin 8 (required for SPI)
#define PIN_CS 14 // Connect CS to pin 10 (required for SPI)
//#define DC_JUMPER 0 // (I2C only) Set to either 0 or 1, matching the value of the DC Jumper
// Declare a MicroOLED object. The parameters include:
// 1 - Reset pin: Any digital pin
// 2 - D/C pin: Any digital pin (SPI mode only)
// 3 - CS pin: Any digital pin (SPI mode only, 10 recommended)
MicroOLED oled(PIN_RESET, PIN_DC, PIN_CS);
Thank you for your help!
Renaud