Mike
Mike
You might find this funny. I had signal connected to D0 instead of A0 on my nodeMCU. Shoot me now :-(
@slaff With #2171 changing the PHY could be done by adding a build variable with the partition name for the PHY initialisation data (default would be `phy_init`) so it gets...
Thank you! That was exactly what I was looking for. I'll try it out and let you know how I get on.
I'm guessing `onPoll()` would pick it up... not sure what the loop time is, we'll see.
#1761 looks related
The sample does appear to be missing `Serial.begin(SERIAL_BAUD_RATE);` at the start of `init()`, but not convinced that would cause wdt resets...
Have you tried running it under the debugger ? ``` make clean make ENABLE_GDB=1 ```
I wonder if the problem is if the timer interval needs setting before enabling interrupts? If it's too short it will crash. ` ` __`RTC_REG_WRITE(FRC1_LOAD_ADDRESS, usToTimerTicks(interval));`__ `TM1_EDGE_INT_ENABLE();` `ETS_FRC1_INTR_ENABLE();` ` `...
@kmihaylov @Informatic Did you guys make any progress on this? I'm currently revising the Servo library (#1870) so good opportunity to sort this out.
How about raising exception on allocation failures? It would highlight such failures and, if not caught, reset so behaviour would be predictable...