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

Dependents:   MCP4822_2aLerche

Revision:
7:a89ef6c30783
Parent:
6:ac02ff2992fe
Child:
8:4adf01cb9dd2
--- a/MCP4822.h	Fri Jan 21 16:22:08 2011 +0000
+++ b/MCP4822.h	Fri Jan 21 16:26:04 2011 +0000
@@ -29,19 +29,19 @@
 public:
      /** Constructor: MCP4822
       * 
-      *  @param SCK - The SPI clock pin 
-      *  @param SDO - The SPI Data out pin 
-      *  @param /CS - The ChipSelect pin 
+      * @param SCK - The SPI clock pin 
+      * @param SDO - The SPI Data out pin 
+      * @param /CS - The ChipSelect pin 
       */ 
     MCP4822 (PinName mosi, PinName sclk, PinName ncs);
      /** Write to the A-output, max 4095 (0xFFF) with 1 mV steps
       *  
-      *  @param ValueA The value to be written
+      * @param ValueA The value to be written
       */ 
     void writeA (int ValueA);
      /** Write to the B-output, max 4095 (0xFFF) with 1 mV steps
       *
-      *  @param ValueB The valkue to be written
+      * @param ValueB The valkue to be written
       */ 
     void writeB (int ValueB);
     
@@ -50,5 +50,5 @@
         DigitalOut _ncs;
         void _init();
   };
-}
+
 #endif
\ No newline at end of file