• Wed 2020.04.01

    'Did you Ctrl-C?'
    'then you're executing code on upload'

    Although I didn't explicitly say, the sentence right above the error in post #4 does indicate that I didn't issue the 'Ctrl + C' implying it is a runtime situation.

    'Do you have an oscilloscope? I bet you'll find it's a lot more than that'

    I'll gladly take your money!! I have slowed the frequency so I am able to count pulses as I mentioned in the other thread. Triggering on that isn't showing any more that what is intended to be sent. I stopped using the logic analyzer after many tests showed that step was just time consuming, and was only validating the visible scope output.



    Is there an 'assert' function to detect out of bounds conditions as in 'C'?

    https://developer.mozilla.org/en-US/docs/Web/API/console/assert

    Initial searching implies there isn't as only the 'log()' function is listed within the class description.

    http://www.espruino.com/Reference#console

About

Avatar for Robin @Robin started