Tuesday, August 13, 2013

Let's get started with Embedded JavaScript



BeagleBone provides super simple way of getting started with embedded JavaScript programming. BoneScript Node.JS library provides Arduino style function calls for interfacing with hardware. Together with Cloud9 IDE, all the pieces of embedded development are in place.

Cloud9 is an open source IDE dedicated for JavaScript development. It is by itself written in JavaScript and uses Node.JS. C9 provides easy deployment to several cloud services, like Azure and Heroku. In case of BeagleBone, one can save and execute JavaScript code directly in the target hardware, without a separate deployment phase.

Start of Javascript programming requires just a few steps:

  1. Connect USB cable in between BeagleBone and your PC 
  2.  Install Ethernet-over-USB drivers, according to instructions
  3. Open  URL http://192.168.7.2:3000 to start C9 IDE
  4. Start coding, and run your code in target hardware by a single click

Later on, you can skip step #2, and if your BeagleBone is connected to Ethernet, you can skip the step #1 as well. Hard to make it more simple than that. I remember the good old days when embedded programming required first to construct a programming device and an UV erase chamber…

Cloud9 IDE with BoneScript example code, connected to my BeagleBone.

1 comment:

  1. Has your facebook, twitter, whatsapp, google+ etc account been attacked? Do you need help to recover and retrieve password and get you back to social media, can help crack and recover passwords from computers, mobile and wireless devices. Do you need help to protect yourself and children from cyber predators, can help encrypt your data and information while educating you on how to prevent these kind of cyber attack. Do you need help to find and locate loved ones, missed connections, old friend, deleted content or stolen and hidden files and document with our world wide locate person and content service. Don't be harassed online, do you need help to find the person behind it and put an absolute end to it all; Do you need help to find out about a cheating partner or spouse with facts to prove it by getting to spy and track on partners exact location from time to time and having direct access to partners mobile without any physical access to it all these can be done only with the help of a certified and professional spy and hack expert. Contact: GLOBALPIRATICA@GMAIL.COM for help out with any of the above listed service or any other hack or spy related service. Reliable and ethical

    ReplyDelete