Library for AD5206 digital potentiometer from Analog Devices

Dependents:   AD5206_demo USB_speaker 4180_proj_approach_2 4180_proj ... more

Revision:
0:d2adf1f7e548
diff -r 000000000000 -r d2adf1f7e548 AD5206.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/AD5206.h	Sat Oct 17 20:02:13 2015 +0000
@@ -0,0 +1,13 @@
+//Library for AD5206 from Analog Device
+
+#include <mbed.h>
+
+class AD5206{
+    public:
+        AD5206(PinName mosi, PinName miso, PinName sclk, PinName cs);
+        
+        void write_AD5206(int addr,int val);
+        
+        SPI _spi;
+        DigitalOut _cs;
+};