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

I'm interested in supporting uno r4 wifi #363

Open
Lormos opened this issue Aug 2, 2023 · 3 comments
Open

I'm interested in supporting uno r4 wifi #363

Lormos opened this issue Aug 2, 2023 · 3 comments

Comments

@Lormos
Copy link

Lormos commented Aug 2, 2023

Can you direct me on what should i look first and what are the problems right now?

@KurtE
Copy link
Contributor

KurtE commented Sep 15, 2023

Sorry, I am not an expert on this library, but have played with it some:

What probably needs to happen is to add a new section of code into Adafruit_NeoPixel.cpp,
Into the monolithic function: void Adafruit_NeoPixel::show(void)

First look after the AVR section for the code that looks like:

// END AVR ----------------------------------------------------------------

#elif defined(arm)

And then you will see a lot of different types of boards under it:
#if defined(ARDUINO_ARCH_RP2040)
...
#elif defined(TEENSYDUINO) &&                                                  \
    defined(KINETISK) // Teensy 3.0, 3.1, 3.2, 3.5, 3.6
...

Maybe to about:

TC_Stop(TC1, 0);

#endif // end Due

  // END ARM ----------------------------------------------------------------

And add a new #elif defined(
For eiither specific board or boards or the like.
You will then need to write the code to output the pulses at the right time. And some of these Neopixels need these pretty precise to work.

Some do it by adding just the right number of NOPs to work. Others might count instruction cycles, or maybe use a timer.

Sorry I know not much help.

@eMUQI
Copy link

eMUQI commented Oct 18, 2023

It just doesn't work.

I attempted to utilize the standtest example code from the library on my R4WIFI board, but my WS2812 RGB LED strip does not respond(None of the LEDs light up). However, there are no issues with my R3 board.

@KurtE
Copy link
Contributor

KurtE commented Oct 18, 2023

@eMUQI - did you try the code that I did earlier, which is still a pending Pull Request?
#365

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

3 participants