• I'm trying to follow this tutorial: https://www.espruino.com/Bangle.js+Devel­opment

    When I get to reset(); the Web IDE answers with following and Bangle.js 2 is stuck with screen which says just "Reloading...".

    >reset();
    =undefined
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v11 (c) 2021 G.Williams
    Uncaught Error: Function not found!
     at line 13 col 667 in .boot0
    ...oad('welcome.app.js')})}})()(function­(){var settings=require("Storage"...
                                            ^
    at line 1 col 152
    ...age').read('bootupdate.js')); throw "Storage Updated!"}
                                  ^
    >
    

    Also Bangle.buzz(); doesn't seem to do anything and Bangle.beep(); makes watch vibrate.

  • Are all your apps up to date? That usually happens when the bootloader is seriously out of date.

    Once you're sure they are all updated you can run load('bootupdate.js') in the IDE just in case to force an updatre of the .boot0 file that is giving you that error

  • How would I know that or update apps? I just updated firmware, is that enough?

    ps. Also that tutorial doesn't say anything about needing to update apps.

  • ok, that was it (although Bangle.buzz(); still doesn't do anything after all is updated).

  • Ok, great. Is it possible you had Vibration set to off in settings?

  • No, and also it would be strange if that setting disables Bangle.buzz(); but not Bangle.beep();.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

`reset();` in Web IDE gives error and makes Bangle.js 2 stuck

Posted by Avatar for malaire @malaire

Actions