Skip to content

WDT Error and following automatic Reset #23

Closed
@rudydevolder

Description

@rudydevolder
  • Arduino board: Feather Huzzah
  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.6.10
  • List the steps to reproduce the problem:
    Just running the standard steppertest.ino example with more steps in one run

I found the solution already see: [https://github.com/esp8266/Arduino/issues/2377 ]
By adding in the library-code the delay(0) command.:
*

  while (steps--) {
    //Serial.println("step!"); Serial.println(uspers);
    ret = onestep(dir, style);
    delayMicroseconds(uspers);
    //Rudy De Volder: to solve WDT problem with the ESP8266 simply add the following line:
    delay(0);
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions