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

Dependents:   MCP4822_2aLerche

Revision:
6:ac02ff2992fe
Parent:
5:c4acc07d6998
Child:
7:a89ef6c30783
--- a/MCP4822.h	Fri Jan 21 16:18:29 2011 +0000
+++ b/MCP4822.h	Fri Jan 21 16:22:08 2011 +0000
@@ -28,25 +28,19 @@
 class MCP4822 {
 public:
      /** Constructor: MCP4822
-      *  Create an instance of the MCP4822 connected to specfied SPI pins.
       * 
-      * Variables: 
       *  @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);
-     /** Function: write to A-output 
-      *  Write to the A-output, max 4095 (0xFFF) with 1 mV steps
-      * 
-      * Variables: 
+     /** Write to the A-output, max 4095 (0xFFF) with 1 mV steps
+      *  
       *  @param ValueA The value to be written
       */ 
     void writeA (int ValueA);
-     /** Function: write to B-output 
-      *  Write to the B-output, max 4095 (0xFFF) with 1 mV steps
-      * 
-      * Variables: 
+     /** Write to the B-output, max 4095 (0xFFF) with 1 mV steps
+      *
       *  @param ValueB The valkue to be written
       */ 
     void writeB (int ValueB);