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.hpp
- Revision:
- 7:d224bddd5405
- Parent:
- 5:cd94bb58e096
diff -r f5e1b079bffd -r d224bddd5405 Telemetry.hpp --- a/Telemetry.hpp Wed Mar 09 13:41:27 2016 +0000 +++ b/Telemetry.hpp Tue Apr 12 07:40:10 2016 +0000 @@ -20,6 +20,15 @@ void begin(uint32_t bauds = 9600); + //void attach_to(const char * topic, ); + void attach_f32_to(const char * topic, float * variable); + void attach_u8_to(const char * topic, uint8_t * variable); + void attach_u16_to(const char * topic, uint16_t * variable); + void attach_u32_to(const char * topic, uint32_t * variable); + void attach_i8_to(const char * topic, int8_t * variable); + void attach_i16_to(const char * topic, int16_t * variable); + void attach_i32_to(const char * topic, int32_t * variable); + TM_transport * get_transport(); void pub(const char * topic, const char * msg);