-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathArduino.h
More file actions
26 lines (18 loc) · 833 Bytes
/
Arduino.h
File metadata and controls
26 lines (18 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
// This file is subject to the terms and conditions defined in
// file 'LICENSE.md', which is part of this source code package.
*/
// The "Arduino.h" header file is intended to only be included by C++ sources.
#if ARDUINO_LIBRARY_DISCOVERY_PHASE == 1
#define ARDUINO_LIB_DISCOVERY_PHASE
#endif
#if !defined(_ARDUINO_MBED_BRIDGE_ARDUINO_H_) && !defined(ARDUINO_LIB_DISCOVERY_PHASE)
#define _ARDUINO_MBED_BRIDGE_ARDUINO_H_
#include "mbed.h"
#define PinMode Arduino_PinMode // note: this changes the Arduino API for mbed compatibility - use Arduino_PinMode where PinMode was specified in the Arduino API
#include "core-api/api/ArduinoAPI.h"
#undef PinMode
#include "core-extend/ArduinoAPI.h"
#include "bridge/pins.h"
#include "variant.h" // user-supplied
#endif // _ARDUINO_MBED_BRIDGE_ARDUINO_H_