Please run it on your NUCLEO-L152

Dependencies:   mbed

Committer:
davidprentice
Date:
Wed Sep 18 10:38:19 2019 +0000
Revision:
1:d88d2ad55fac
Parent:
0:b608c7f02f80
Added messages to Serial Terminal (9600 baud)

Who changed what in which revision?

UserRevisionLine numberNew 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