Cool. But I tried require("widget_utils").swipeOn(); and got this:
>Uncaught Error: Module widget_utils not found
That happened both in the emulator and on the watch. The same thing happened when I tried loading the Pebble watch, which uses that API, through the IDE.
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.
Cool. But I tried
require("widget_utils").swipeOn();
and got this:>Uncaught Error: Module widget_utils not found
That happened both in the emulator and on the watch. The same thing happened when I tried loading the Pebble watch, which uses that API, through the IDE.
I hope I'm not missing something obvious.