That is not how it was meant. You created a loop and you are lucky the universe did not explode :-)
Whoops, yeah it's like chained #include in C/C++
Ok now just uploading the Layout.min.js solved the issue and the program works as intended. Now the only thing that remains to try is to find a way to automatically upload the file to a BangleJS (or embedding the Layout library in the script, even if it's kind of ugly).
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.
Whoops, yeah it's like chained
#include
in C/C++Ok now just uploading the
Layout.min.js
solved the issue and the program works as intended. Now the only thing that remains to try is to find a way to automatically upload the file to a BangleJS (or embedding the Layout library in the script, even if it's kind of ugly).Thanks for the patience!
Best regards