Questions
- Look in the Johnny-Five documentation, under the LED heading in the section on the API. Look for the
strobe
function. What does the first argument do? What would happen if you passed 500 as that first argument? - What is the second argument in the
LED.strobe()
function? How would this come in handy for applications waiting for the LED to be off? - Does the Johnny-Five LED object emit any events? Why, or why not?
- Using the Raspi-IO documentation, what does the Raspberry Pi pin P1-29 translate to in terms of GPIO #?
- Using the Johnny-Five documentation, name a function that is an alias for the
LED.strobe()
function. - What happens before the board's
ready
event fires in a Johnny-Five application?