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@1:460124e3da18, 2021-11-11 (annotated)
- Committer:
- mgimple
- Date:
- Thu Nov 11 23:03:49 2021 +0000
- Revision:
- 1:460124e3da18
- Parent:
- 0:cc0c5534467e
- Child:
- 2:7b9d20c715f5
finally son of a bitch
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 | public: |
mgimple | 0:cc0c5534467e | 10 | PVD(PinName in1); |
mgimple | 1:460124e3da18 | 11 | float R,V; |
mgimple | 1:460124e3da18 | 12 | float Res(); |
mgimple | 0:cc0c5534467e | 13 | |
mgimple | 0:cc0c5534467e | 14 | private: |
mgimple | 0:cc0c5534467e | 15 | AnalogIn _in1; |
mgimple | 0:cc0c5534467e | 16 | }; |
mgimple | 0:cc0c5534467e | 17 | |
mgimple | 0:cc0c5534467e | 18 | #endif |