===== Wiring and the MAX 5322 DAC ==== FIXME The [[https://datasheets.maximintegrated.com/en/ds/MAX5322.pdf|MAX5322]] is an dual 12bit SPI digital to analog converter. One can use this DAC over the GPIO pins of the Raspberry Pi with Wiring. [[http://wiringpi.com/|Wiring]] for the Raspberry Pi was written by Gordon Henderson.\\ ---- ==== Install Wiring ==== In the terminal: $ sudo apt-get install wiringpi For the Raspberry Pi 4 one needs to update the WiringPi to version 2.52: $ cd /tmp $ wget https://project-downloads.drogon.net/wiringpi-latest.deb $ sudo dpkg -i wiringpi-latest.deb [[http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/]]\\ ---- ==== Links ==== [[http://wiringpi.com/]]\\ [[https://github.com/WiringPi/WiringPi]]\\ [[https://github.com/WiringPi/WiringPi/blob/master/wiringPi/max5322.c]]\\ ----