Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TFT_Touch_botao_v1 TFT_Touch_exemplo5_git_touch TESTE_1 TFT_Touch_exemplo6_git_touch_button_3_
Revision 2:81364824d56a, committed 2021-05-11
- Comitter:
- davidprentice
- Date:
- Tue May 11 16:24:13 2021 +0000
- Parent:
- 1:9261d641453c
- Commit message:
- add includes, typedef byte
Changed in this revision
| Arduino.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Arduino.h Tue May 11 15:59:11 2021 +0000 +++ b/Arduino.h Tue May 11 16:24:13 2021 +0000 @@ -7,14 +7,24 @@ // it would be nice to put main_glue.cpp here #include <mbed.h> +#include <stdint.h> +#include <stdlib.h> +#include <stdbool.h> +#include <string.h> +#include <math.h> + +#include "avr/dtostrf.h" +#include "itoa.h" + +#include "WString.h" //for String #include "HardwareSerial.h" //for Serial hack -#include "WString.h" //for String extern uint32_t SystemCoreClock; #define F_CPU SystemCoreClock #define delay(ms) wait_ms(ms) #define __builtin_bswap16(x) ( ((x)<<8) | ((x)>>8) ) +typedef uint8_t byte; extern uint32_t micros(void); extern uint32_t millis(void);