Skip to content

Commit e549d58

Browse files
authored
Add board definition for Wemos C3 Pico V1.0.0 - Lolin
Add board definition for Wemos C3 Pico V1.0.0 - Lolin https://www.wemos.cc/en/latest/c3/c3_pico.html
1 parent 7b29bac commit e549d58

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

variants/lolin_c3_pico/pins_arduino.h

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// https://www.wemos.cc/en/latest/c3/c3_pico.html
2+
3+
#ifndef Pins_Arduino_h
4+
#define Pins_Arduino_h
5+
6+
#include <stdint.h>
7+
8+
static const uint8_t LED_BUILTIN = 7;
9+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
10+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
11+
12+
static const uint8_t TX = 21;
13+
static const uint8_t RX = 20;
14+
15+
static const uint8_t SDA = 8;
16+
static const uint8_t SCL = 10;
17+
18+
static const uint8_t VBAT = 3;
19+
20+
static const uint8_t SCK = 2;
21+
static const uint8_t MISO = 0;
22+
static const uint8_t MOSI = 4;
23+
24+
static const uint8_t A0 = 0;
25+
static const uint8_t A1 = 1;
26+
static const uint8_t A2 = 2;
27+
static const uint8_t A3 = 3;
28+
static const uint8_t A4 = 4;
29+
static const uint8_t A5 = 5;
30+
31+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)