Really Screwed Up


i wanted create reset in code after event occurs, because untraceable reason, when event occurs (radio transmission) system hangs up.  have 2 spi gadgets on board, , although both work, radio hangs up.  timing or interrupt problem.

so decided apply watchdog timer trigger after radio tx, allowing 15 ms. before resetting.  activated after point in code tx called.  not in main loop, assumed trigger once, each time called transmission.  boy wrong!

so have timer resetting nano every 15 ms., , program upload kaput.  have bricked nano, or there way foil wdt , new code chip?

thanks in advance assistance.

press & hold reset during download, when ide shows "compiled xxx of 32xxx bytes" release it.
file:preferences, enable verbose outputs, can make timing easier see when release button.


Arduino Forum > Using Arduino > Microcontrollers > Really Screwed Up


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'