• Just posting demo code

    var Layout = require("Layout");
    var layout = new Layout( {type:"txt", font:"6x8", label:"Hello World"});
    g.clear();
    layout.render();
    

    is causing the error

    *'Uncaught Error: Function "setUI" not found!
    at line 1 col 223
    ...lazy=c.lazy||!1;var b;if(Bangle.setUI(),process.env.HWVERSION!=2){...

                                    ^
    

    in function "Layout" called from line 2 col 71
    ..."6x8", label:"Hello World"});

                              ^
    

    Uncaught Error: Cannot read property 'render' of undefined
    at line 4 col 7
    layout.render();'*

    Ram and storage, Bangle 1

About

Avatar for user139578 @user139578 started