how to control a DAC (MCP42XX) output a specific voltage say 2.1 v?

djsfantasi

Joined Apr 11, 2010
6,115
Thank you mvas, want to use MCP4261.
This device is controlled via SPI. If you are using an Arduino, you’re in luck. There is an Arduino library to control this chip (click on “library” to be taken to the download page. You’ll also need the Arduino SPI library.

Check out the documentation in the link. It’ll describe what you need to do.
 

Thread Starter

LAOADAM

Joined Nov 21, 2018
174
Thank you Participants.
Any idea how to figure out the difference between two sketches? say I have sketch_a and sketch_b, and the the latter is modified from former somehow a little, how can easily find out where the modifications are?
 
Top