O'Reilly logo

JavaScript on Things: Hacking hardware for web developers by Lyza Danger Gardner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Output: making things happen

This chapter covers

  • Mastering more advanced LED-controlling techniques—animating LEDs and using full-color RGB LEDs
  • Using pulse-width modulation (PWM) support to make digital output signals behave more like analog output signals
  • The basics of bitshifting and binary operations in JavaScript
  • Integrating a third-party weather API to create a multi-colored LED “weather ball” gadget
  • Wiring up and controlling a parallel LCD module with Johnny-Five and the Uno
  • Combining multiple input and output components to build an advanced timer device
  • Making noises and playing tunes with piezo components and Johnny-Five

Now it’s time to do something noisy. Or something bright. Or something blinky or expressive. You’ve ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required