12bit 8ch ADC with SPI interface

Fork of MCP3208 by Yoji KURODA

Files at this revision

API Documentation at this revision

Comitter:
mcx
Date:
Fri Feb 20 17:53:27 2015 +0000
Parent:
1:0876e83ba21b
Commit message:

Changed in this revision

mcp3208.h Show annotated file Show diff for this revision Revisions of this file
diff -r 0876e83ba21b -r 701c3096336e mcp3208.h
--- a/mcp3208.h	Wed Oct 24 05:52:21 2012 +0000
+++ b/mcp3208.h	Fri Feb 20 17:53:27 2015 +0000
@@ -13,7 +13,7 @@
     float _vref;
   
   public:
-    MCP3208(PinName mosi=p11, PinName miso=p12, PinName clk=p13, PinName cs=p14);
+    MCP3208(PinName mosi, PinName miso, PinName clk, PinName cs);
     int binary(int ch);
     float volt(int ch);
     float vref(float v){return _vref=v;}