diff options
Diffstat (limited to 'teensy/teensy_hal.c')
-rw-r--r-- | teensy/teensy_hal.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/teensy/teensy_hal.c b/teensy/teensy_hal.c new file mode 100644 index 0000000000..5f162f1e78 --- /dev/null +++ b/teensy/teensy_hal.c @@ -0,0 +1,16 @@ +#include <stdio.h> +#include <stdint.h> + +#include "mpconfig.h" + +#include "Arduino.h" + +#include HAL_H + +uint32_t HAL_GetTick(void) { + return micros(); +} + +void HAL_Delay(uint32_t Delay) { + delay(Delay); +} |