2014-06-16 06:33:14 +01:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "mpconfig.h"
|
|
|
|
|
|
|
|
#include "Arduino.h"
|
|
|
|
|
2014-07-02 13:42:37 +01:00
|
|
|
#include MICROPY_HAL_H
|
2014-06-16 06:33:14 +01:00
|
|
|
|
|
|
|
uint32_t HAL_GetTick(void) {
|
|
|
|
return micros();
|
|
|
|
}
|
|
|
|
|
|
|
|
void HAL_Delay(uint32_t Delay) {
|
|
|
|
delay(Delay);
|
|
|
|
}
|