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.
PVD_Driver.h@0:cc0c5534467e, 2021-11-11 (annotated)
- Committer:
- mgimple
- Date:
- Thu Nov 11 22:53:05 2021 +0000
- Revision:
- 0:cc0c5534467e
- Child:
- 1:460124e3da18
this compiles
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mgimple | 0:cc0c5534467e | 1 | #ifndef PVD_Driver_H |
mgimple | 0:cc0c5534467e | 2 | #define PVD_Driver_H |
mgimple | 0:cc0c5534467e | 3 | |
mgimple | 0:cc0c5534467e | 4 | #include "mbed.h" |
mgimple | 0:cc0c5534467e | 5 | |
mgimple | 0:cc0c5534467e | 6 | class PVD |
mgimple | 0:cc0c5534467e | 7 | |
mgimple | 0:cc0c5534467e | 8 | { |
mgimple | 0:cc0c5534467e | 9 | |
mgimple | 0:cc0c5534467e | 10 | public: |
mgimple | 0:cc0c5534467e | 11 | PVD(PinName in1); |
mgimple | 0:cc0c5534467e | 12 | float resistance; |
mgimple | 0:cc0c5534467e | 13 | float volt; |
mgimple | 0:cc0c5534467e | 14 | |
mgimple | 0:cc0c5534467e | 15 | private: |
mgimple | 0:cc0c5534467e | 16 | AnalogIn _in1; |
mgimple | 0:cc0c5534467e | 17 | }; |
mgimple | 0:cc0c5534467e | 18 | |
mgimple | 0:cc0c5534467e | 19 | #endif |