Cell voltages fork (SoC)
Dependencies: CUER_CAN CUER_DS1820 LTC2943 LTC6804 mbed PowerControl
Temperature.h@52:63e84c6a9cfd, 2017-08-18 (annotated)
- Committer:
- DasSidG
- Date:
- Fri Aug 18 08:47:10 2017 +0000
- Revision:
- 52:63e84c6a9cfd
- Parent:
- 21:d461d58e70fc
Changed it so that it gets temperature from the temperature measurement board rather than doing the measurements itself.; Expanded the temperature thresholding stuff.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lcockerton62 | 1:51477fe4851b | 1 | #ifndef Temperature_H |
lcockerton62 | 1:51477fe4851b | 2 | #define Temperature_H |
lcockerton62 | 1:51477fe4851b | 3 | |
lcockerton62 | 1:51477fe4851b | 4 | #include "mbed.h" |
lcockerton62 | 1:51477fe4851b | 5 | #include "DS1820.h" |
lcockerton62 | 1:51477fe4851b | 6 | |
DasSidG | 52:63e84c6a9cfd | 7 | #define MAX_PROBES 100 |
lcockerton62 | 1:51477fe4851b | 8 | #define DATA_PIN p24 |
lcockerton62 | 1:51477fe4851b | 9 | #define PARASITE_PIN p23 |
DasSidG | 12:fa9b1a459e47 | 10 | #define ISOTHERM_12V_PIN p27 |
lcockerton62 | 1:51477fe4851b | 11 | |
lcockerton62 | 1:51477fe4851b | 12 | extern DS1820* probe[]; |
lcockerton62 | 1:51477fe4851b | 13 | extern int devices_found; |
lcockerton62 | 1:51477fe4851b | 14 | |
lcockerton62 | 1:51477fe4851b | 15 | void temperature_init(); |
lcockerton62 | 1:51477fe4851b | 16 | |
DasSidG | 21:d461d58e70fc | 17 | extern DigitalOut isotherm_12V_pin; //Sets Temperature Pin |
DasSidG | 21:d461d58e70fc | 18 | |
lcockerton62 | 1:51477fe4851b | 19 | #endif |