I know this might not be the most elegent solution, i'm somewhat new to writing arduino libraries, but elapsedMicros and elapsedMillis are not in the Uno api by default, and this is the only way i've managed to get this library to work on an atmega328p. The library has to be installed and they need to be included manually, I do not have a teensy to verify weather or not this change would affect Teensy users, It would be very nice if there was a way to detect weather the target device is a teensy using a preprocessor config and only include the library if the device is not a teensy
I know this might not be the most elegent solution, i'm somewhat new to writing arduino libraries, but elapsedMicros and elapsedMillis are not in the Uno api by default, and this is the only way i've managed to get this library to work on an atmega328p. The library has to be installed and they need to be included manually, I do not have a teensy to verify weather or not this change would affect Teensy users, It would be very nice if there was a way to detect weather the target device is a teensy using a preprocessor config and only include the library if the device is not a teensy