mbed-js-repl
v1.0.0
Published
REPL for JavaScript on mbed
Downloads
1
Readme
mbed-js-repl
JS REPL library for mbed OS 5. For an example program that uses the REPL, see mbed-js-repl-example.
Usage
Start a new JavaScript on mbed project:
$ git clone [email protected]:armmbed/mbed-js-example my-js-repl $ cd my-js-repl $ npm install
Add this library to your dependencies:
$ npm install mbed-js-repl --save
Add the following line to your JS app:
var repl = new JSRepl();
Build your application:
# replace K64F with your development board $ gulp --target=K64F
Run your program and connect over serial (baud rate 115,200) to your board to use the REPL.