Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MCP3208_Y by
Diff: mcp3208.h
- Revision:
- 2:701c3096336e
- Parent:
- 1:0876e83ba21b
- Child:
- 3:08c7702773b6
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;}
