Editing
Wemos D1 Mini
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==pins_arduino.h== <nowiki>/* pins_arduino.h - Pin definition functions for Arduino Part of Arduino - http://www.arduino.cc/ */ #define PIN_WIRE_SDA (4) #define PIN_WIRE_SCL (5) //Wemos D1 Mini, pins D2(SDA) and D1(SCL).. Wire.begin(4, 5) static const uint8_t SDA = PIN_WIRE_SDA; static const uint8_t SCL = PIN_WIRE_SCL; #define LED_BUILTIN 2 // = GPIO 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 D4 = 2; static const uint8_t D5 = 14; 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; /* Re: Wemos Board. Usable pins for general I/O? TX, GPIO1: Serial Port. Also usable as GPIO if not using serial. RX, GPIO3: Serial Port. Also usable as GPIO if not using serial. D0, GPIO16: Momentary high on boot. D1, GPIO5: nothing special. D2, GPIO4: nothing special. D3, GPIO0: pull low during boot for flash mode (connects to a push button). D4, GPIO2: is pulled up during boot & internal LED (active LOW). D5, GPIO14: nothing special. D6, GPIO12: nothing special. D7, GPIO13: nothing special. D8, GPIO15: fixed external pull-down (for boot). */</nowiki> <br>
Summary:
Please note that all contributions to Notebook may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Notebook:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home Page
C++ Reference
ESP Hardware
ESPHome
Home Assistant
Network Stuff
Tools
What links here
Related changes
Special pages
Page information