Hi there,
Could anyone give me some pointers on how to modify a library so it functions on the Teensy?
Want to adapt this serial buffer library https://github.com/siggiorn/arduino-buffered-serial
it seems in BufferedSerial.h there's a definition thats processor dependent. I'd probably need to include something like this, only I'm not sure what definitions to use.
Best and thanks!
Could anyone give me some pointers on how to modify a library so it functions on the Teensy?
Want to adapt this serial buffer library https://github.com/siggiorn/arduino-buffered-serial
it seems in BufferedSerial.h there's a definition thats processor dependent. I'd probably need to include something like this, only I'm not sure what definitions to use.
Code:
#if defined(__MK20DX256__)
#define UCSRA1 UCSR1A
#define UCSRA2 UCSR2A
#define UCSRA3 UCSR3A
#endif
Best and thanks!