Get your frist "blink" LED with Intel mini breakout …

Version 1

    I am on build 68, check if node is installed using Intel mini breakout board


    root@fablab:~# node --version

    v0.10.28

     

    Install MRAA: intel-iot-devkit/mraa · GitHub OR simply:

    echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf

    opkg update

    opkg install libmraa0

     

    download "blink" example file

    wget --no-check-certificate https://github.com/intel-iot-devkit/mraa/blob/master/examples/javascript/Blink-IO.js

     

    root@fablab:~# node Blink_IO.js

    MRAA Version: v0.5.1-18-ge5c3e49

     

    Your frist LED should be flashing btw connect the LED: short leg of LED to J19 pin 3 and long leg of LED to J17 pin 14

     

    TIP: mraa/edison.md at master · intel-iot-devkit/mraa · GitHub shows the mapping of pins:

    PIN 13 var myLed = new m.Gpio(13); in the code example equals J17 pin 14 … simple like this!

     

    Now you can also use the Intel XDX IoT Edition btw (nearly) same code ;-)

    XDX_blink_pin13.jpg