Closed joeycortez42 closed 8 years ago
For some reason it is causing your Oak to enter a endless loop or similar lock-up - which is why it is triggering a Soft WDT reset. I think accelstepper might not light getting interrupted during delays for the network functions to take place - it is known to be a library that is picky about things like that. You may need to modify the library to use internal_delay() instead of delay().
Closing because this is not a library that is part of this core - but feel free to follow-up here if you have additional findings/questions.
I have a 28BYJ-48 stepper motor with a ULN2003 Driver connected to my Oak. The code runs fine on an Arduino Uno, but when I transferred it over to the Oak it crashes after just a second of rotation. I am using the AccelStepper library to help control the movement, but I found other people having success with AccelStepper and a ESP8266 type board.
Here is the serial output of the crash:
Any ideas on what could be causing it?