PIC32MX: I2C DAC

From Mech
Jump to navigationJump to search

Original Assignment

Do not erase this section!

Your assignment is to interface to the MAX518 I2C digital to analog converter (DAC).

Overview

Note: PROJECT NOT FULLY FUNCTIONAL!

On this page we will present code and a wiring schematic that allows for the PIC32MX to speak to an 8-bit Digital to Analog Converter. In particular, our project used the ____ DAC.

While we were able to send data to the DAC, we were NOT able to elicit output from said DAC.

Circuit

Include a schematic and give any part numbers. A photo of your circuit is OK, but not as a replacement for a schematic.

Code

Where possible, make it a single piece of well-commented cut-and-pastable code, or at least make each function that way, so others can easily copy it. Most comments should be in the code itself; outside the code (on the wiki) should only be explanatory comments that are too cumbersome to include in the code.