12bit 8ch ADC with SPI interface for STM32 Nucleo to support 16-bit words. SPI speed bumped up to 8MHz

Fork of MCP3208_Y by Michael Chuah

Revision:
2:701c3096336e
Parent:
1:0876e83ba21b
--- 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;}