These are chat archives for SmingHub/Sming
@tprochazka how did u check gpio9 and 10, what espreiff sdk 1.3? 1.4? I tried with dio on a normal (well 12e on a breakoput board, maybe there is an issue with it, not on nodemcu) and GPIO9 kept reseting on me, are you saying that it works for you? I also opened a defect SmingHub/Sming#336
Until I'm use SPI for communication with SSD1306 OLED display it works correctly. I tested only OUTPUT mode on GPIO 9 a 10 and it works normally. If I use SPI it reset state of this PINS to LOW. I have no problem with reset of whole ESP.
SmingCore/HardwarePWM.cpp:34:13: error: 'pwm_start' was not declared in this scope pwm_start();
I found solution of my problem with GPIO 9 and 10 right now!
*csport |= cspinmask; *dcport |= dcpinmask; *csport &= ~cspinmask; *csport |= cspinmask;
digitalWrite(cs, HIGH); digitalWrite(dc, HIGH); digitalWrite(cs, LOW); digitalWrite(cs, HIGH);
In Adafruit_SSD1306.cpp on the display() method, line 520
And problem is gone!
It looks that bit mask is incorrect and change more pins!