ERNICommunity / lintilla-embedded

Arduino Robot SW.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application crashes with processEchoServer()

dniklaus opened this issue · comments

As long as the processEchoServer() function called from loop() in lintilla_embedded.cpp is running, the application crashes after a few seconds after startup.

If this function will be disabled (commented out), the application works fine (but w/o listening to incoming TCP connections of course).

The root cause isn't the processEchoServer (or the Adafruit_CC3000 driver), the isssue is based on the UltrasonicSensor driver's heavy usage of timer interrupt. When switching off this driver, the WiFi and Echo Server runs stable.