Sensor Code By Jorge Troncoso
Dependencies: Sensor2 MAX31855-1 libmDot-1
Fork of 0A101_mDot_Sensor_Rev3_AUS by
radio_sensor.h@2:0417c5cdceaf, 2018-06-13 (annotated)
- Committer:
- jortronm2
- Date:
- Wed Jun 13 11:31:15 2018 +0000
- Revision:
- 2:0417c5cdceaf
- Parent:
- 0:1441b10e38a6
Sensor Code by Jorge Troncoso
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jortronm2 | 0:1441b10e38a6 | 1 | #ifndef RADIO_SENSOR_H |
jortronm2 | 0:1441b10e38a6 | 2 | #define RADIO_SENSOR_H |
jortronm2 | 0:1441b10e38a6 | 3 | |
jortronm2 | 0:1441b10e38a6 | 4 | |
jortronm2 | 0:1441b10e38a6 | 5 | #include "board_config.h" |
jortronm2 | 0:1441b10e38a6 | 6 | #include "dot_util.h" |
jortronm2 | 0:1441b10e38a6 | 7 | #include "mbed.h" |
jortronm2 | 0:1441b10e38a6 | 8 | #include "serialize.h" |
jortronm2 | 0:1441b10e38a6 | 9 | |
jortronm2 | 0:1441b10e38a6 | 10 | |
jortronm2 | 0:1441b10e38a6 | 11 | #define RADIO_FREQUENCY (915500000UL) |
jortronm2 | 0:1441b10e38a6 | 12 | |
jortronm2 | 0:1441b10e38a6 | 13 | |
jortronm2 | 0:1441b10e38a6 | 14 | extern mDot* dot; |
jortronm2 | 0:1441b10e38a6 | 15 | |
jortronm2 | 0:1441b10e38a6 | 16 | |
jortronm2 | 0:1441b10e38a6 | 17 | extern int8_t radio_sensor_init(enum mts::MTSLog::logLevel logging_level); |
jortronm2 | 0:1441b10e38a6 | 18 | extern int8_t radio_sensor_transmit(struct sensor_data_raw data); |
jortronm2 | 0:1441b10e38a6 | 19 | |
jortronm2 | 0:1441b10e38a6 | 20 | |
jortronm2 | 0:1441b10e38a6 | 21 | #endif // RADIO_SENSOR_H |