• @kri100s

    indeed, something with boolean is off...

    You see the workaround: make Commands for setting and clearing (not the most elegant, but it works).

    Furthermore, notice:

    • 1. To display the state of a boolean I convert them to a number that is in the range of the other ones... then I see a continuous graph line about the status - in this case: value 2 is true for on variable, 1 represents false
    • 2. You can switch back to console and you see what the Espruino board returns every second. Unfortunately, you cannot see what the Testing/Monitor is sending to the Espruino board. For that you would have to look into the JS Testing plug-in code and change it.

    When you take a look at the plug-in code, you may figure what is wrong with the boolean. Looks to me good what you do and I suspect as well something is broken for setting a boolean variable. - https://github.com/espruino/EspruinoWebI­DE/blob/master/js/plugins/testing.js#L62­


    3 Attachments

    • espMonCmdSetFalse.png
    • espMonCmdSetBoo.png
    • espMonCmdSetBooLog.png
About

Avatar for allObjects @allObjects started