Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
telemetry-arduino.h
00001 #ifdef ARDUINO 00002 00003 #include "telemetry.h" 00004 #include <Stream.h> 00005 00006 namespace telemetry { 00007 00008 class ArduinoHalInterface : public HalInterface { 00009 public: 00010 ArduinoHalInterface(Stream& serial) : 00011 serial(serial) {} 00012 00013 virtual void transmit_byte(uint8_t data); 00014 virtual size_t rx_available(); 00015 virtual uint8_t receive_byte(); 00016 00017 virtual void do_error(const char* message); 00018 00019 protected: 00020 Stream& serial; 00021 }; 00022 00023 } 00024 00025 #endif // ifdef ARDUINO
Generated on Wed Jul 20 2022 05:38:47 by
1.7.2