Please run it on your NUCLEO-L152

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Arduino.h Source File

Arduino.h

00001 #ifndef ARDUINO_H
00002 #define ARDUINO_H
00003 
00004 #include <mbed.h>
00005 
00006 extern uint32_t SystemCoreClock;
00007 #define F_CPU SystemCoreClock
00008 
00009 #define PROGMEM
00010 #define PGM_P const char*
00011 #define PSTR(x) x
00012 #define pgm_read_byte(x)  (*(uint8_t *)(x))
00013 #define pgm_read_word(x)  (*(uint16_t *)(x))
00014 #define delay(ms) wait_ms(ms)
00015 
00016 extern uint32_t micros(void);
00017 extern uint32_t millis(void);
00018 extern void setup(void);
00019 extern void loop(void);
00020 
00021 #endif