I have spent a lot of time on code that when loaded from the IDE works great. When I do a save and power cycle, it never seems to run the same. I have done a dump() and the code looks like it is missing whole sections. Doing this on a STM32Fdiscovery.
Code from IDE:
function delay(count) {
for(x=0; x < count; x++)
;
}
delay(1000);
print("test");
Response from dump()
function delay(count) {
for(x=0; x < count; x++)
;
}
var x = 1000;
digitalWrite(A0,0);
=undefined
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have spent a lot of time on code that when loaded from the IDE works great. When I do a save and power cycle, it never seems to run the same. I have done a dump() and the code looks like it is missing whole sections. Doing this on a STM32Fdiscovery.
Code from IDE:
BTW, this digitalWrite(A0,0); never goes away.