Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Latest commit

 

History

History
26 lines (15 loc) · 983 Bytes

File metadata and controls

26 lines (15 loc) · 983 Bytes

Hello JavaScript/mJS

Intro

This example shows how to use the library with JavaScript or rather mJS.

Prerequisite

Setup Mongoose OS as described here: https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md

Please note that the chosen configuration is for a Adafruit HUZZAH ESP32 or a Adadafruit HUZZAH ESP8266, and a (monochrome) ePaper Display FeatherWing. So please adjust the configuration (GPIOs, display width/height/driver, etc. in the config_schema section) in mos.yml accordingly for your setup.

Installation

git checkout https://github.com/bbilger/mgos-arduino-adafruit-epd
cd mgos-arduino-adafruit-epd/examples/hello_js

mos build --platform esp32 && mos flash && mos console
# or
mos build --platform esp8266 && mos flash && mos console