- The first LED.strobe() parameter defines the blinking speed of LED, which is 100 ms by default. If the argument is defined as 500 then the blink will go in 500 ms intervals.
- The second line of argument use require function to pull in the johnny-five modules.
- Johnny-Five LED objects are output only and therefore do not emit any events.
- Raspberry Pi pin P1-29Â translate to GPIO 5Â in terms of GPIO#.
- LED.blink() function is an alias to LED.strobe() function.
- We begin with constructing a board object, and we pass a new instance of the raspi-io module in as its I/O. This is how we tell the Johnny-Five library we're running this code on a Raspberry Pi.





















































