Moteino only runs from USB FTDI

Started by ColinR, November 24, 2014, 01:10:34 AM

ColinR

Hello,

I've a pretty standard sketch that has decided it will only run when I have the FTDI connected to a computer. FTDI on a USB PS, USB power from computer, PS, etc., nothing else will work. What is this a symptom of?

Thanks,
Colin
CuPID Controls :: Open Source browser-based sensor and device control
Interfaceinnovations.org/cupidcontrols.html
cupidcontrols.com

ColinR

I'm not sure I understand why this is the result, but I tracked it to attempting to set properties of an object that was not initialized yet. I moved around bits so that NETWORKID and NODEID were attempting to be set before radio was created.

C
CuPID Controls :: Open Source browser-based sensor and device control
Interfaceinnovations.org/cupidcontrols.html
cupidcontrols.com

Felix

Yes, sounds like some code glitch. It happened to me before also.