Skip to Main Content
JavaScript on Things
book

JavaScript on Things

by Lyza Gardner
March 2018
Beginner content levelBeginner
448 pages
15h 26m
English
Manning Publications
Content preview from JavaScript on Things

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaScript Everywhere

JavaScript Everywhere

Adam D. Scott
JavaScript

JavaScript

T. J. Crowder

Publisher Resources

ISBN: 9781617293863Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link