- Notifications
You must be signed in to change notification settings - Fork13.3k
Add wifi kit 8 to boards#8190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
5 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
NextNext commit
Create pins_arduino.h
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitf5530b9971a098c21c7b70af55e9643b914ffd08
There are no files selected for viewing
52 changes: 52 additions & 0 deletionsvariants/wifi_kit_8/pins_arduino.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| /* | ||
| pins_arduino.h - Pin definition functions for Arduino | ||
| Part of Arduino - http://www.arduino.cc/ | ||
| Copyright (c) 2007 David A. Mellis | ||
| Modified for ESP8266 platform by Ivan Grokhotkov, 2014-2015. | ||
| This library is free software; you can redistribute it and/or | ||
| modify it under the terms of the GNU Lesser General Public | ||
| License as published by the Free Software Foundation; either | ||
| version 2.1 of the License, or (at your option) any later version. | ||
| This library is distributed in the hope that it will be useful, | ||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| Lesser General Public License for more details. | ||
| You should have received a copy of the GNU Lesser General | ||
| Public License along with this library; if not, write to the | ||
| Free Software Foundation, Inc., 59 Temple Place, Suite 330, | ||
| Boston, MA 02111-1307 USA | ||
| $Id: wiring.h 249 2007-02-03 16:52:51Z mellis $ | ||
| */ | ||
| #ifndef Pins_Arduino_h | ||
| #define Pins_Arduino_h | ||
| #define WIFI_Kit_8 true | ||
| #define PIN_WIRE_SDA (4) | ||
| #define PIN_WIRE_SCL (5) | ||
| static const uint8_t SDA = PIN_WIRE_SDA; | ||
| static const uint8_t SCL = PIN_WIRE_SCL; | ||
| static const uint8_t OLED_RST = 16; | ||
| #define LED_BUILTIN 0 | ||
| static const uint8_t D0 = 16; | ||
| static const uint8_t D1 = 5; | ||
| static const uint8_t D2 = 4; | ||
| static const uint8_t D3 = 0; | ||
| static const uint8_t D6 = 12; | ||
| static const uint8_t D7 = 13; | ||
| static const uint8_t D8 = 15; | ||
| static const uint8_t RX = 3; | ||
| static const uint8_t TX = 1; | ||
| #include "../generic/common.h" | ||
| #endif /* Pins_Arduino_h */ |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.