diff --git a/README.md b/README.md index 748f3a1..d354409 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,4 @@ # Adafruit SSD1306 usage example (JavaScript) -## Overview - This app is a Adafruit SSD1306 usage example in JavaScript. -## How to install this app - -- Install and start [mos tool](https://mongoose-os.com/software.html) -- Switch to the Project page, find and import this app, build and flash it: - -

- -

diff --git a/fs/init.js b/fs/init.js index cb5733b..58d781b 100644 --- a/fs/init.js +++ b/fs/init.js @@ -26,7 +26,7 @@ let showStr = function(d, str) { d.display(); }; -Timer.set(1000 /* milliseconds */, true /* repeat */, function() { +Timer.set(1000 /* milliseconds */, Timer.REPEAT, function() { showStr(d, "i = " + JSON.stringify(i)); print("i = ", i); i++; diff --git a/mos.yml b/mos.yml index a23aece..fc8a053 100644 --- a/mos.yml +++ b/mos.yml @@ -12,6 +12,7 @@ filesystem: - fs libs: # common mgos libs + - origin: https://github.com/mongoose-os-libs/boards - origin: https://github.com/mongoose-os-libs/ca-bundle - origin: https://github.com/mongoose-os-libs/i2c - origin: https://github.com/mongoose-os-libs/rpc-service-config