You are reading a single comment by @tobor and its replies. Click here to read the full conversation.
  • 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
    

    BTW, this digitalWrite(A0,0); never goes away.

About

Avatar for tobor @tobor started