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.
Dependencies: mbed
Arduino.h
00001 // link: 00002 // https://os.mbed.com/users/davidprentice/code/Nucleo_dir_L152//file/d88d2ad55fac/ADA_GFX_kbv/Arduino.h/ 00003 // Committer: davidprentice 00004 // Date: 19 months ago 00005 // 2021-04-21 00006 // 00007 // Arduino.h 00008 // 00009 #ifndef ARDUINO_H 00010 #define ARDUINO_H 00011 00012 #include <mbed.h> 00013 00014 extern uint32_t SystemCoreClock; 00015 #define F_CPU SystemCoreClock 00016 00017 #define PROGMEM 00018 #define PGM_P const char* 00019 #define PSTR(x) x 00020 #define pgm_read_byte(x) (*(uint8_t *)(x)) 00021 #define pgm_read_word(x) (*(uint16_t *)(x)) 00022 #define delay(ms) wait_ms(ms) 00023 00024 extern uint32_t micros(void); 00025 extern uint32_t millis(void); 00026 extern void setup(void); 00027 extern void loop(void); 00028 00029 #endif 00030
Generated on Tue Jul 12 2022 18:37:38 by
1.7.2