In a previous video we added analog IO to a Rapsberry Pi with the help of the AD5592 Snack Board and a some helper code. In this video I explain each function of the helper code. Get the source here:
https://github.com/SpazzTech/AD5592_Snack_Board
It is recommended to watch the following prerequisite videos for some of this video to make sense:
Installing the bcm2835 library:
https://youtu.be/KwSq-WxNqAA
Using SPI on Raspberry Pi:
https://youtu.be/0QcteUtzB4o
Introduction to the AD5592 Snack Board:
https://youtu.be/jSnT0_RSBUk