For Hepta-Sat Lite
HeptaTemp.h@8:3cb7f1ea12bf, 2021-08-17 (annotated)
- Committer:
- heptasat2021
- Date:
- Tue Aug 17 10:51:03 2021 +0000
- Revision:
- 8:3cb7f1ea12bf
- Parent:
- 7:79fba3155857
For Hepta-Sat Lite
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hepta2ume | 0:f74735cb01bc | 1 | #ifndef MBED_HEPTA2TEMP_H |
hepta2ume | 0:f74735cb01bc | 2 | #define MBED_HEPTA2TEMP_H |
hepta2ume | 0:f74735cb01bc | 3 | #include"mbed.h" |
hepta2ume | 0:f74735cb01bc | 4 | |
hepta2ume | 0:f74735cb01bc | 5 | class HeptaTemp |
hepta2ume | 0:f74735cb01bc | 6 | { |
hepta2ume | 0:f74735cb01bc | 7 | public: |
hepta2ume | 0:f74735cb01bc | 8 | HeptaTemp(PinName pin); |
hepta2ume | 0:f74735cb01bc | 9 | void temp_sense(float* temp); |
HEPTA | 3:96c3dd85be15 | 10 | void temp_sense_u16(char* temp_u16); |
hepta2ume | 1:a23c2cd65379 | 11 | void temp_sensing_vol(float* voltage); |
hepta2ume | 0:f74735cb01bc | 12 | |
hepta2ume | 0:f74735cb01bc | 13 | private: |
hepta2ume | 0:f74735cb01bc | 14 | AnalogIn _pin; |
hepta2ume | 0:f74735cb01bc | 15 | }; |
hepta2ume | 0:f74735cb01bc | 16 | |
hepta2ume | 0:f74735cb01bc | 17 | #endif |