O'Reilly logo

Learning BeagleBone Python Programming by Alexander Hiam

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

Summary

In this chapter, you learned the basics of using buttons and potentiometers to generate user input in your programs. We looked at both synchronous polling and interrupt-based input. We also looked at some concepts like debouncing and hysteresis to help receive clean input signals. Finally, you made a variable brightness night light.

In the next chapter, we'll take a look at some more ways of providing output to the user, other than printing text to the terminal.

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