Set of Files to enable some Arduino examples.
Dependents: TFT_Touch_botao_v1 TFT_Touch_exemplo5_git_touch TESTE_1 TFT_Touch_exemplo6_git_touch_button_3_
Diff: Arduino.h
- Revision:
- 0:5952bbaff1c6
- Child:
- 1:9261d641453c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Arduino.h Mon Apr 26 14:52:27 2021 +0000 @@ -0,0 +1,25 @@ +#ifndef ARDUINO_H +#define ARDUINO_H + +#include <mbed.h> +#include "HardwareSerial.h" +#include "WString.h" + +extern uint32_t SystemCoreClock; +#define F_CPU SystemCoreClock + +#define PROGMEM +/* +#define PGM_P const char* +#define PSTR(x) x +#define pgm_read_byte(x) (*(uint8_t *)(x)) +#define pgm_read_word(x) (*(uint16_t *)(x)) +*/ +#define delay(ms) wait_ms(ms) + +extern uint32_t micros(void); +extern uint32_t millis(void); +extern void setup(void); +extern void loop(void); + +#endif