Skip to content

How to use Servo with BBB example as template

Wissam Halimi edited this page Jul 29, 2014 · 1 revision

Starting from the following Nodejs application, a lab owner should:

  1. Install the necessary node modules using the Node Packaged Modules (https://www.npmjs.org/). Lab owners can find node modules necessary for their specific applications on the mentioned website.

  2. Modify the package.json file to include the newly installed modules or delete the unnecessary ones.

  3. Modify the README.md file to better describe the specific application.

  4. Modify the websocket-server.js file to address correctly the specific instrumentation connected to the BeagleBone Black and service adequately the user client. Lab owners can use the javascript libraries on this website: http://beagleboard.org/Support/BoneScript for the specific use of the connected hardware to the GPIOs of the board.