Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
raspberry:dac_mcp4802-22 [2020/10/16 21:51]
admin [Commandline Test]
raspberry:dac_mcp4802-22 [2020/10/16 21:56]
admin [with BCM2835 Library]
Line 27: Line 27:
 ---- ----
 ==== with Commandline ==== ==== with Commandline ====
 +
 +[[https://swharden.com/blog/2016-09-28-generating-analog-voltages-with-the-raspberry-pi/]]\\
  
 to output some voltage: to output some voltage:
Line 35: Line 37:
 [[https://www.airspayce.com/mikem/bcm2835/]]\\ [[https://www.airspayce.com/mikem/bcm2835/]]\\
 [[https://www.youtube.com/watch?v=0QcteUtzB4o]]\\ [[https://www.youtube.com/watch?v=0QcteUtzB4o]]\\
 +[[https://raspberry-projects.com/pi/programming-in-c/spi/using-the-spi-interface]]\\
  
  
Line 40: Line 43:
 ==== with WiringPi ==== ==== with WiringPi ====
  
 +   #include <wiringPiSPI.h>
  
----- 
-==== Links ==== 
- 
-[[https://swharden.com/blog/2016-09-28-generating-analog-voltages-with-the-raspberry-pi/]]\\ 
-[[https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial/all]]\\ 
 [[http://wiringpi.com/reference/spi-library/]]\\ [[http://wiringpi.com/reference/spi-library/]]\\
 [[https://projects.drogon.net/raspberry-pi/wiringpi/spi-library/]]\\ [[https://projects.drogon.net/raspberry-pi/wiringpi/spi-library/]]\\
 [[https://projects.drogon.net/raspberry-pi/gertboard/analog-inout/]]\\ [[https://projects.drogon.net/raspberry-pi/gertboard/analog-inout/]]\\
 [[https://projects.drogon.net/understanding-spi-on-the-raspberry-pi/]]\\ [[https://projects.drogon.net/understanding-spi-on-the-raspberry-pi/]]\\
 +
 [[https://www.petervis.com/Raspberry_PI/Gertboard_Raspberry_Pi_Expansion/Gertboard_Digital_to_Analog_Converter.html]]\\ [[https://www.petervis.com/Raspberry_PI/Gertboard_Raspberry_Pi_Expansion/Gertboard_Digital_to_Analog_Converter.html]]\\
-[[https://engineer.john-whittington.co.uk/2015/03/raspberry-pi-dac-mcp4725-with-wiringpi/]]\\ +[[https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial/all]]\\
-[[https://skpang.co.uk/blog/archives/689]]\\ +
-[[http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_SPI.html]]\\+
  
  
 +----
 +==== Links ====
  
 +[[https://skpang.co.uk/blog/archives/689]]\\
 +[[http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_SPI.html]]\\
  
 ---- ----