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.
Diff: LM19_Driver.h
- Revision:
- 1:6249f99332e0
- Parent:
- 0:876059873ad6
--- a/LM19_Driver.h Wed Nov 10 15:13:35 2021 +0000 +++ b/LM19_Driver.h Fri Nov 12 01:56:04 2021 +0000 @@ -1,3 +1,7 @@ +//Mackenzie Fraser +//Assignment 4.1 +//Header file: define inputs + #ifndef LM19_Driver_H #define LM19_Driver_H @@ -9,6 +13,7 @@ LM19(PinName in1); //initialization function float c1, c2, c3, c4; float temp(); //temperature computation + float voltage(); private: AnalogIn _in1;