Skip to content

NeoPixel unavailable on LoRa32 board #70

@0x62

Description

@0x62

Describe the Bug
Currently, following the Firmware Install Guide or the Handheld RNode Guide, you're giving the option of installing a NeoPixel LED on Pin 12.

At the moment, this is not enabled in the firmware from what I can tell.

In Boards.h, we define the features available for each board. NeoPixel support is enabled with HAS_NP and pin_np, and is properly enabled for the official RNode and HelTec T114.

RNode_Firmware_CE/Boards.h

Lines 685 to 695 in 7342116

#elif BOARD_MODEL == BOARD_RNODE_NG_21
#define HAS_DISPLAY true
#define DISPLAY OLED
#define HAS_BLUETOOTH true
#define HAS_CONSOLE true
#define HAS_PMU true
#define HAS_NP true
#define HAS_SD false
#define HAS_EEPROM true
#define INTERFACE_COUNT 1
const int pin_np = 12;

However it is missing for the LoRa32 boards:

RNode_Firmware_CE/Boards.h

Lines 407 to 414 in 7342116

#elif BOARD_MODEL == BOARD_LORA32_V2_1
#define HAS_DISPLAY true
#define DISPLAY OLED
#define HAS_BLUETOOTH true
#define HAS_PMU true
#define HAS_CONSOLE true
#define HAS_EEPROM true
#define INTERFACE_COUNT 1

To Reproduce
Install the firmware and connect a NeoPixel to P12. It will not function.

Expected Behavior
The NeoPixel functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions