chris1howell
Well-known member
borland said:I don't see how you could run out of resources without getting compile errors.
I've only reviewed the source code briefly, but there's a warning about letting the watchdog timeout...
Code:#ifdef WATCHDOG // WARNING: ALL DELAYS *MUST* BE SHORTER THAN THIS TIMER OR WE WILL GET INTO // AN INFINITE RESET LOOP wdt_enable(WDTO_1S); // enable watchdog timer #endif // WATCHDOG
WATCHDOG is not enabled by default.
There are 2 types of memory RAM and EEPROM. If the code fits in EEPROM it will compile without errors, however there is no warning that when the code is executed that RAM capacity could be used up. Yes, the code fits in EEPROM but I believe we have a RAM problem.