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 AnalogIn_Diff by
Diff: AnalogIn_Diff.h
- Revision:
- 1:7b36e4381d83
- Parent:
- 0:0f6f4be28e21
- Child:
- 2:ea5a4c22bd53
diff -r 0f6f4be28e21 -r 7b36e4381d83 AnalogIn_Diff.h
--- a/AnalogIn_Diff.h Tue May 20 00:58:33 2014 +0000
+++ b/AnalogIn_Diff.h Thu May 22 17:40:21 2014 +0000
@@ -8,14 +8,14 @@
class AnalogIn_Diff
{
public:
- AnalogIn_Diff(int channel);
+ AnalogIn_Diff(int a2d_number);
/**
* AnalogIn_Diff destructor
*/
~AnalogIn_Diff();
- int16_t read_16(void);
- float read(void);
+ int16_t read_16(int channel);
+ float read(int channel);
private:

ADC DIFF K64F