David Prentice
/
Nucleo_dir_L152
Please run it on your NUCLEO-L152
ADA_GFX_kbv/Arduino.h@0:b608c7f02f80, 2019-09-18 (annotated)
- Committer:
- davidprentice
- Date:
- Wed Sep 18 10:26:00 2019 +0000
- Revision:
- 0:b608c7f02f80
add L152 to utility/pin_shield_?.h; otherwise MCUFRIEND_kbv from Beta on GitHub
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
davidprentice | 0:b608c7f02f80 | 1 | #ifndef ARDUINO_H |
davidprentice | 0:b608c7f02f80 | 2 | #define ARDUINO_H |
davidprentice | 0:b608c7f02f80 | 3 | |
davidprentice | 0:b608c7f02f80 | 4 | #include <mbed.h> |
davidprentice | 0:b608c7f02f80 | 5 | |
davidprentice | 0:b608c7f02f80 | 6 | extern uint32_t SystemCoreClock; |
davidprentice | 0:b608c7f02f80 | 7 | #define F_CPU SystemCoreClock |
davidprentice | 0:b608c7f02f80 | 8 | |
davidprentice | 0:b608c7f02f80 | 9 | #define PROGMEM |
davidprentice | 0:b608c7f02f80 | 10 | #define PGM_P const char* |
davidprentice | 0:b608c7f02f80 | 11 | #define PSTR(x) x |
davidprentice | 0:b608c7f02f80 | 12 | #define pgm_read_byte(x) (*(uint8_t *)(x)) |
davidprentice | 0:b608c7f02f80 | 13 | #define pgm_read_word(x) (*(uint16_t *)(x)) |
davidprentice | 0:b608c7f02f80 | 14 | #define delay(ms) wait_ms(ms) |
davidprentice | 0:b608c7f02f80 | 15 | |
davidprentice | 0:b608c7f02f80 | 16 | extern uint32_t micros(void); |
davidprentice | 0:b608c7f02f80 | 17 | extern uint32_t millis(void); |
davidprentice | 0:b608c7f02f80 | 18 | extern void setup(void); |
davidprentice | 0:b608c7f02f80 | 19 | extern void loop(void); |
davidprentice | 0:b608c7f02f80 | 20 | |
davidprentice | 0:b608c7f02f80 | 21 | #endif |