File tree Expand file tree Collapse file tree 10 files changed +11
-11
lines changed
cytron_maker_feather_aiot_s3
department_of_alchemy_minimain_esp32s2 Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 10
10
#define USB_PRODUCT "ATMZ-ESP32S2"
11
11
#define USB_SERIAL ""
12
12
13
- static const uint8_t NEOPIXEL = 40 ;
13
+ static const uint8_t RGB_LED_PIN = 40 ;
14
14
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
15
- static const uint8_t LED_BUILTIN = (NEOPIXEL + SOC_GPIO_PIN_COUNT );
15
+ static const uint8_t LED_BUILTIN = (RGB_LED_PIN + SOC_GPIO_PIN_COUNT );
16
16
#define BUILTIN_LED LED_BUILTIN // backward compatibility
17
17
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
18
18
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbledWrite()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ static const uint8_t BUZZER = 25;
9
9
static const uint8_t BUTTON_A = 35 ;
10
10
static const uint8_t BUTTON_B = 27 ;
11
11
12
- // NeoPixel Matrix 5 x 5
12
+ // RGB LED Matrix 5 x 5
13
13
static const uint8_t RGB_LED = 4 ;
14
14
15
15
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
Original file line number Diff line number Diff line change 13
13
#define LED_BUILTIN 46
14
14
#define BUILTIN_LED LED_BUILTIN // backward compatibility
15
15
16
- // Neopixel
16
+ // RGB LED
17
17
#define PIN_RGB_LED 47
18
18
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbledWrite() and digitalWrite() for blinking
19
19
#define RGB_BUILTIN (PIN_RGB_LED + SOC_GPIO_PIN_COUNT)
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ static const uint8_t RGB_BUILTIN = SOC_GPIO_PIN_COUNT + 46; // RGB LED.
19
19
20
20
#define LED LED_BUILTIN
21
21
#define RGB RGB_BUILTIN
22
- #define NEOPIXEL RGB_BUILTIN
22
+ #define RGB_LED_PIN RGB_BUILTIN
23
23
#define RGB_BRIGHTNESS 65
24
24
25
25
#define VP_EN 11 // V Peripheral Enable.
Original file line number Diff line number Diff line change 14
14
#define LED_BUILTIN 13
15
15
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16
16
17
- // Neopixel
17
+ // RGB LED
18
18
#define PIN_RGB_LED 33
19
19
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbledWritee() for blinking
20
20
#define RGB_BUILTIN (PIN_RGB_LED + SOC_GPIO_PIN_COUNT)
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ extern "C" {
30
30
// Initialize variant/board, called before setup()
31
31
void initVariant (void ) {
32
32
// This board has a power control pin, and we must set it to output and high
33
- // in order to enable the NeoPixels .
33
+ // in order to enable the RGB LEDs .
34
34
pinMode (RGBLED_POWER, OUTPUT);
35
35
digitalWrite (RGBLED_POWER, HIGH);
36
36
}
Original file line number Diff line number Diff line change 15
15
#define LTE_WAKE 27 // GPIO27 - Sequans modem wake-up interrupt
16
16
#define LTE_BAUD 921600
17
17
18
- // Neopixel
18
+ // RGB LED
19
19
#define PIN_RGB_LED 0 // ->2812 RGB !!!
20
20
static const uint8_t LED_BUILTIN = PIN_RGB_LED + SOC_GPIO_PIN_COUNT ;
21
21
#define BUILTIN_LED LED_BUILTIN // backward compatibility
Original file line number Diff line number Diff line change 15
15
#define LORA_IO1 LORA_IRQ // tied by diode to IO0
16
16
#define LORA_IO2 LORA_IRQ // tied by diode to IO0
17
17
18
- // Neopixel
18
+ // RGB LED
19
19
#define PIN_RGB_LED 0 // ->2812 RGB !!!
20
20
static const uint8_t LED_BUILTIN = PIN_RGB_LED + SOC_GPIO_PIN_COUNT ;
21
21
#define BUILTIN_LED LED_BUILTIN // backward compatibility
Original file line number Diff line number Diff line change 15
15
#define LORA_IO2 LORA_IRQ // tied by diode to IO0
16
16
#define LORA_RST NOT_A_PIN
17
17
18
- // Neopixel
18
+ // RGB LED
19
19
#define PIN_RGB_LED 0 // ->2812 RGB !!!
20
20
static const uint8_t LED_BUILTIN = PIN_RGB_LED + SOC_GPIO_PIN_COUNT ;
21
21
#define BUILTIN_LED LED_BUILTIN // backward compatibility
Original file line number Diff line number Diff line change 4
4
#include <stdint.h>
5
5
#include "soc/soc_caps.h"
6
6
7
- // Neopixel
7
+ // RGB LED
8
8
#define PIN_RGB_LED 0 // ->2812 RGB !!!
9
9
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
10
10
static const uint8_t LED_BUILTIN = (PIN_RGB_LED + SOC_GPIO_PIN_COUNT );
You can’t perform that action at this time.
0 commit comments