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 in the next chapter.

..................Content has been hidden....................

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