File tree 1 file changed +40
-0
lines changed
variants/m5stack_stickc_plus/m5stack_nanoc6
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef Pins_Arduino_h
2
+ #define Pins_Arduino_h
3
+
4
+ #include <stdint.h>
5
+ #include "soc/soc_caps.h"
6
+
7
+ #define USB_VID 0x303A
8
+ #define USB_PID 0x1001
9
+ #define USB_MANUFACTURER "M5Stack"
10
+ #define USB_PRODUCT "NanoC6"
11
+ #define USB_SERIAL ""
12
+
13
+ static const uint8_t LED_BUILTIN = 7 ;
14
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
15
+ #define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
16
+
17
+ static const uint8_t TX = 16 ;
18
+ static const uint8_t RX = 17 ;
19
+
20
+ static const uint8_t SDA = 2 ;
21
+ static const uint8_t SCL = 1 ;
22
+
23
+ static const uint8_t A1 = 1 ;
24
+ static const uint8_t A2 = 2 ;
25
+ static const uint8_t A3 = 2 ;
26
+
27
+ static const uint8_t D1 = 1 ;
28
+ static const uint8_t D2 = 2 ;
29
+ static const uint8_t D3 = 3 ;
30
+ static const uint8_t D4 = 7 ;
31
+ static const uint8_t D5 = 8 ;
32
+ static const uint8_t D6 = 9 ;
33
+
34
+ static const uint8_t BLUE_LED_PIN = 7 ;
35
+ static const uint8_t BTN_PIN = 9 ;
36
+ static const uint8_t IR_TX_PIN = 3 ;
37
+ static const uint8_t RGB_LED_PWR_PIN = 19 ;
38
+ static const uint8_t RGB_LED_DATA_PIN = 20 ;
39
+
40
+ #endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments