Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues controlling the NEO Pixel #1

Open
84ace opened this issue May 29, 2022 · 0 comments
Open

Issues controlling the NEO Pixel #1

84ace opened this issue May 29, 2022 · 0 comments

Comments

@84ace
Copy link

84ace commented May 29, 2022

Hi,

Awesome project!

I was wondering of you could help me understand why I can't get the neo pixel to do anything. The code executes fine and RTT logs messages. The board is custom and based on the NRF52832. The board and neo pixel (WS2812b) works with other Arduino based sketches that allow me to fully control the neo pixel without issue.

I have defined the following in sdk_config:

#define NOT_USED_PIN1                   3
#define NOT_USED_PIN2                   6
#define SCL_PIN                         9
#define SDA_PIN                         10
#define D5_PIN                          11

All of the above are not connected to anything physically.

And only modified the pin number below in main:

#elif defined(BOARD_PCA10040)
  #define neopixel_pin                  8                                       /**< Neopixel pin number. */
#endif

Unfortunately, I come from a hardware background so the code is a little hard for me to follow.

The RTT output looks good:

00> <info> app_timer: RTC: initialized.
00> <info> app: Neopixel Controller Application started.
00> <info> app: Fast advertising started.
00> <info> app: Connected.
00> <info> app: command rerceived!
00> <info> app: commands[0] = 255;
00> <info> app: commands[1] = 0;
00> <info> app: commands[2] = 0;

Have i missed something obvious?

Thanks in advance!
Ace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant