24 #ifndef AltSoftSerial_h
25 #define AltSoftSerial_h
33 #include "pins_arduino.h"
36 #if defined(__arm__) && defined(CORE_TEENSY)
37 #define ALTSS_BASE_FREQ F_BUS
39 #define ALTSS_BASE_FREQ F_CPU
51 static void begin(uint32_t baud)
53 init((ALTSS_BASE_FREQ + baud / 2) / baud);
60 size_t write(uint8_t
byte)
113 static void init(uint32_t cycles_per_bit);
114 static void writeByte(uint8_t
byte);