freetronics / DMD2

Beta release of a new Dot Matrix Display Arduino library
http://forum.freetronics.com/viewtopic.php?f=26&t=5893
GNU General Public License v3.0
80 stars 71 forks source link

Problem with ESP8266 Get Request and DMD2 Library #26

Closed viceplayer closed 6 years ago

viceplayer commented 6 years ago

Hello Dear All,

I am using ESP8266(Nodemcu v1.0) to download information from server using simple get Request and DMD2 library to draw them on display.

Problem I have is, that when I call dmd.begin() after some time ESP8266 will become unable to connect to wifi, sometimes it even causes watchdog resets wdt.

I found out that both of them use Interrupts. It might be a problem, I think.

Could you help me to fix it? code.zip

jhonoryza commented 6 years ago

you need to connect to wifi first then call dmd.begin after that, otherwise it will crashh

h4rm0n1c commented 6 years ago

It is recommended that you take care of the wireless stack and make sure you're not inadvertently triggering the watchdog timer before starting to use resource heavy peripherals like the DMD.

Much of the esp8266 environment is software implementations of features that otherwise exist in hardware on the AVR platform, this can lead to... quirks.