ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
2k stars 638 forks source link

Doubts with ui.nextFrame() option #221

Closed javierilloqg closed 5 years ago

javierilloqg commented 5 years ago

Hello, I'm new with this library and I'm trying to use a button tu change between frames. I used the function nextFrame when the button is pushed but anything is happening when I push it. How I should use the nextFrame option to make this happen? Are there any other ways to do it? Thanks in advance.

javierilloqg commented 5 years ago

Problem resolved. I just forgot to add ui.update() after calling ui.nextFrame.