Has base BMU code but sends dummy temperature and voltage readings to test CAN
Dependencies: CUER_CAN DS1820 LTC2943 LTC6804 mbed
Fork of BMS_BMUCore_Max by
Temperature.h@15:e901aff1f5b3, 2017-07-02 (annotated)
- Committer:
- DasSidG
- Date:
- Sun Jul 02 11:25:37 2017 +0000
- Revision:
- 15:e901aff1f5b3
- Parent:
- 12:fa9b1a459e47
Added temperature probe initialization
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 | |
lcockerton62 | 1:51477fe4851b | 7 | #define MAX_PROBES 50 |
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 | |
lcockerton62 | 1:51477fe4851b | 17 | #endif |