O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

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

This chapter involved writing many Python programs that we did earlier in JavaScript/node. Python code is sequential and easy to understand. We used the Adafruit_BBIO library to do low-level input/output for BeagleBone. It provides the GPIO, ADC and PWM namespace with easy to use functions. We learned and used many such functions in programs in this chapter. This chapter covered all the physical computing exercises in Python that we did in JavaScript in the last few chapters.

The information we gathered up to now is sufficient to communicate with many input/output devices. Still, a few sensors/displays/components that use bus to communicate information cannot be interfaced with our current knowledge. We will see I2C, SPI and UART bus communication ...

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