Go to the documentation of this file.00001 #ifndef APM_FastSerial_h
00002 #define APM_FastSerial_h
00003
00004 #include <inttypes.h>
00005
00006 #include "Print.h"
00007
00008 class APM_FastSerial_Class : public Print
00009 {
00010 private:
00011 uint8_t SerialPortNumber;
00012
00013 public:
00014 APM_FastSerial_Class(uint8_t SerialPort);
00015
00016 void write(uint8_t b);
00017 void write(const uint8_t *buffer, int size);
00018 };
00019
00020 extern APM_FastSerial_Class APM_FastSerial;
00021 #if defined(__AVR_ATmega1280__)
00022 extern APM_FastSerial_Class APM_FastSerial3;
00023 #endif
00024 #endif
00025