Library for MCP4822 SPI 12-bit DAC, both outputs supported, nLDAC connected to GND.

Dependents:   MCP4822_2aLerche

Revision:
9:01a5b0f4b726
Parent:
8:4adf01cb9dd2
Child:
10:d1edaa2e2905
diff -r 4adf01cb9dd2 -r 01a5b0f4b726 MCP4822.h
--- a/MCP4822.h	Fri Jan 21 16:29:33 2011 +0000
+++ b/MCP4822.h	Fri Jan 21 16:31:09 2011 +0000
@@ -30,8 +30,8 @@
 public:
      /** Constructor: MCP4822
       * 
-      * @param SCK - The SPI clock pin 
-      * @param SDO - The SPI Data out pin 
+      * @param MOSI - The SPI clock pin 
+      * @param SCLK - The SPI Data out pin 
       * @param /CS - The ChipSelect pin 
       */ 
     MCP4822 (PinName mosi, PinName sclk, PinName ncs);