Hi after posting at various forums including Energia's boards there isn't concrete evidence to this day of why this happens; there's a probable cause which has to do with MSP430 smaller SRAM but that has to be coupled with bug in the Energia's compiler so that the issue isn't reported at compile or link time but only occurs during runtime. Many sketches do run just fine on all 3 boards yet few don't (3 boards being the original Duemilanove; Stellaris and MSP430)
I guess it depends on the code; I'm running some code as-is with no modifications - simply copy and paste into Energia and it compiles just fine. Other code needs minor modifications on the pin names but other than that the syntax seems identical between Arduino IDE and Energia IDE
Motorized WiFi IKEA Roller Blind
Hi, Great project; I'm most interested in how you got the LUA mqtt client talking to CloudMQTT reliably? I've been testing the same exact setup (yes custom NodeMCU firmware) for months and it's almost guaranteed that after 2-3 months the Node becomes an island meaning it is no longer subscribed to the topic so the only way out is a reboot; it isn't a network thing; the Node is pingable and has valid IP all along. I've always suspected the LUA mqtt client? Thank you
Thanks skylerh4, I do account for the pin changes, my issue appears to be compiler bugs or the micro simply runs out of memory, all sketches that do NOT work properly on MSP430 DO WORK correctly on the more powerful Stellaris hence my suspicion that it's likely an issue of resources rather than compiler bugs.