mbed-js-repl

1.0.0 • Public • Published

mbed-js-repl

JS REPL library for mbed OS 5. For an example program that uses the REPL, see mbed-js-repl-example.

Usage

  1. Start a new JavaScript on mbed project:

    $ git clone git@github.com:armmbed/mbed-js-example my-js-repl
    $ cd my-js-repl
    $ npm install
    
  2. Add this library to your dependencies:

    $ npm install mbed-js-repl --save
    
  3. Add the following line to your JS app:

    var repl = new JSRepl();
  4. Build your application:

    # replace K64F with your development board
    $ gulp --target=K64F
    
  5. Run your program and connect over serial (baud rate 115,200) to your board to use the REPL.

Readme

Keywords

none

Package Sidebar

Install

npm i mbed-js-repl

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • janjongboom1