First class data visualization and communication library with embedded devices. Code is maintained at github.com/Overdrivr/Telemetry
Dependents: telemetry_car_demo telemetry_demo_FRDM-TFC telemetry_example_01 telemetry_indexed_data_demo ... more
Diff: Telemetry.cpp
- Revision:
- 7:d224bddd5405
- Parent:
- 5:cd94bb58e096
--- a/Telemetry.cpp Wed Mar 09 13:41:27 2016 +0000 +++ b/Telemetry.cpp Tue Apr 12 07:40:10 2016 +0000 @@ -38,6 +38,41 @@ pc.baud(bauds); } +void Telemetry::attach_f32_to(const char * topic, float * variable) +{ + attach_f32(topic, variable); +} + +void Telemetry::attach_u8_to(const char * topic, uint8_t * variable) +{ + attach_u8(topic, variable); +} + +void Telemetry::attach_u16_to(const char * topic, uint16_t * variable) +{ + attach_u16(topic, variable); +} + +void Telemetry::attach_u32_to(const char * topic, uint32_t * variable) +{ + attach_u32(topic, variable); +} + +void Telemetry::attach_i8_to(const char * topic, int8_t * variable) +{ + attach_i8(topic, variable); +} + +void Telemetry::attach_i16_to(const char * topic, int16_t * variable) +{ + attach_i16(topic, variable); +} + +void Telemetry::attach_i32_to(const char * topic, int32_t * variable) +{ + attach_i32(topic, variable); +} + void Telemetry::begin(uint32_t bauds) { pc.baud(bauds);