Questions

  1. 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?
  2. 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?
  3. Does the Johnny-Five LED object emit any events? Why, or why not?
  4. Using the Raspi-IO documentation, what does the Raspberry Pi pin P1-29 translate to in terms of GPIO #?
  5. Using the Johnny-Five documentation, name a function that is an alias for the LED.strobe() function.
  6. What happens before the board's ready event fires in a Johnny-Five application?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.77.114