esp8266 / Basic

Basic Interpreter for the ESP8266
http://esp8266basic.com
259 stars 216 forks source link

SFE_MicroOLED.cpp dcPin not defined for I2C #42

Open manitou48 opened 6 years ago

manitou48 commented 6 years ago

For I2C mode, in begin() in SFE_MicroOLED.cpp, dcPin is being configured (pinMode etc) even though it is not defined or otherwise used. Default value of 0 for dcPin means pin 0 is being spuriously configured.

ref: https://forum.pjrc.com/threads/52711-Trouble-with-Serial-between-2-Teensy-s?p=181249&viewfull=1#post181249