File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 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 */
You can’t perform that action at this time.
0 commit comments