|
| 1 | +/* |
| 2 | + pins_arduino.h - Pin definition functions for Arduino |
| 3 | + Part of Arduino - http://www.arduino.cc/ |
| 4 | +
|
| 5 | + Copyright (c) 2007 David A. Mellis |
| 6 | + Modified for ESP8266 platform by Ivan Grokhotkov, 2014-2015. |
| 7 | +
|
| 8 | + This library is free software; you can redistribute it and/or |
| 9 | + modify it under the terms of the GNU Lesser General Public |
| 10 | + License as published by the Free Software Foundation; either |
| 11 | + version 2.1 of the License, or (at your option) any later version. |
| 12 | +
|
| 13 | + This library is distributed in the hope that it will be useful, |
| 14 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 | + Lesser General Public License for more details. |
| 17 | +
|
| 18 | + You should have received a copy of the GNU Lesser General |
| 19 | + Public License along with this library; if not, write to the |
| 20 | + Free Software Foundation, Inc., 59 Temple Place, Suite 330, |
| 21 | + Boston, MA 02111-1307 USA |
| 22 | +
|
| 23 | + $Id: wiring.h 249 2007-02-03 16:52:51Z mellis $ |
| 24 | +*/ |
| 25 | + |
| 26 | +#ifndef Pins_Arduino_h |
| 27 | +#define Pins_Arduino_h |
| 28 | + |
| 29 | +#define PIN_WIRE_SDA (2) |
| 30 | +#define PIN_WIRE_SCL (4) |
| 31 | + |
| 32 | +static const uint8_t SDA = PIN_WIRE_SDA; |
| 33 | +static const uint8_t SCL = PIN_WIRE_SCL; |
| 34 | + |
| 35 | +#ifndef LED_BUILTIN |
| 36 | +#define LED_BUILTIN 1 |
| 37 | +#endif |
| 38 | + |
| 39 | +#include "../generic/common.h" |
| 40 | + |
| 41 | +#endif /* Pins_Arduino_h */ |
0 commit comments