DA module library for MCU Gear with LPC1114FN28. This library contains wiring setting function.

Revision:
0:177e80bbbd3b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DAmoduleLPC1114.h	Mon May 05 10:40:11 2014 +0000
@@ -0,0 +1,16 @@
+
+#include "commonALPC1114.h"
+
+class DAmodule
+{   
+    public:
+        DAmodule(SPI _spi, PinName _cs, PinName _dout1, MCUGear *mcugear);
+        void IODAmodule(MCUGear *mcugear);
+        void writeDAm(MCUGear *mcugear, int data);//manual connection
+        void writeDAa(MCUGear *mcugear, int data);//automatic connection
+        void initDA(MCUGear *mcugear);
+    protected:
+        SPI spi;
+        DigitalOut cs;
+        DigitalOut dout1;
+};
\ No newline at end of file