So I was building some stuff and doing okay but then ran against the 4 exported functions limit so I thought I’d use the string functions to create a single function that does more.
First time I ran the code nothing seemed to happen. I sent the command a few more times then the main LED went out! Nothing would bring it back. In the end I tried the reload to factory stuff and that worked. I made some mods to the code but could not see anything wrong so I uploaded and ran again. Once more nothing happened after a short while I checked the connections and touched the top of the Spark and it was red hot! I pulled the plug, smartish.
After a while I plugged it in again and all stayed cool. Worked fine on the other functions, but when I tried my new one once it started heating up good and proper again. Is this just processor loading causing this and it is safe? Or am I doing something bad here somehow.