labSPI
Dependencies: mbed
Fork of MCP4922_Sinewave by
Diff: MCP4922.h
- Revision:
- 2:2244c8986987
- Parent:
- 0:5737b1972549
--- a/MCP4922.h Thu May 12 11:12:47 2011 +0000 +++ b/MCP4922.h Mon Aug 24 12:36:59 2015 +0000 @@ -30,8 +30,8 @@ /* Reference: Microchip Technology (2005), MCP4821/MCP4822 DAC Data Sheet. */ // MCP4922 reference voltage. -#define MCP4922_VREF 2048 // Reference voltage (mV) -//#define MCP4922_VREF 3300 // Reference voltage (mV) +//#define MCP4922_VREF 2048 // Reference voltage (mV) +#define MCP4922_VREF 3300 // Reference voltage (mV) /* Define possible combinations of 16-bit command register bits */ #define MCP4922_REG_A1 0x3000 // Channel A gain 1