Overwriting image on SSD1306 OLED without clearing display #5516
Unanswered
espruino-discuss
asked this question in
ESP8266
Replies: 1 comment
-
Posted at 2016-07-18 by @gfwilliams I think it's because you've set Posted at 2016-07-18 by CrashingDutchman Good catch @gfwilliams, that solved it! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-07-16 by CrashingDutchman
I have defined two images in code. One is shown when wifi is connected/associated, the other is shown when wifi disconnects.
The wifi connected image is correctly shown as soon as soon as the NodeMCU I am using connects to Wifi. When I disconnect from wifi I expect the other image to show, but I still see the wifi-connected image. I need to specifically use a clear-command to remove everything (there is only a wifi-signal image) before showing the wifi-disconnected image. Strangely enough, it works the other way around. This makes me think that the zero's in the wifi-disconnected icon are not correctly resetting the one's from the wifi-connected icon.
Beta Was this translation helpful? Give feedback.
All reactions