Skip to content

renesas: initial porting for UNO R4 - #1523

Merged
kriegsman merged 1 commit into
FastLED:masterfrom
facchinm:uno_r4_support
Sep 3, 2023
Merged

kriegsman merged 1 commit into
FastLED:masterfrom
facchinm:uno_r4_support

Conversation

@facchinm

@facchinm facchinm commented Jul 10, 2023 •

Copy link
Copy Markdown
Contributor

Tested on Neopixel-like (clockless)

Tested on Nexopixel-like (clockless)

@zackees zackees left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked over the code. Looks good. @samguyer

@OoDeLally

OoDeLally commented Aug 26, 2023 •

Copy link
Copy Markdown

Thanks for your contribution!

I've tried that branch with a R4 Minima and a WS2811.

// doesnt work with R4, although it does with Nano.
FastLED.addLeds<WS2811, 8>(leds, NUM_LEDS);
// works
FastLED.addLeds<NEOPIXEL, 8>(leds, NUM_LEDS);

@kriegsman

Copy link
Copy Markdown
Member

Thank you for this really helpful contribution, and thank you for your help with the FastLED library!

@ocack

ocack commented Jan 3, 2024

Copy link
Copy Markdown

Hello,

I have a UNO R4 and a WS2811 strip led.
The actual FastLed release doesn't work with this configuration.
I tried without success this ticket : #1554 #1523

I can help because I have the hardware and I'am not a novice in C Programmation.
I just need renesas and WS2811 specification.

Any help would be appreciated.
Regards

@ocack

ocack commented Jan 29, 2024

Copy link
Copy Markdown

Can anybody help me for this issue ?
Difficult to beleive that I am the only one that interfaces an Arduino R4 with FastLed and a strip WS2811 !?
I would like to help the community to move forward on that issue.
Which tests can I do ?
Which documentation do I need for trying to fixing that ?
Regards

@OoDeLally

OoDeLally commented Jan 30, 2024 •

Copy link
Copy Markdown

Can anybody help me for this issue ? Difficult to beleive that I am the only one that interfaces an Arduino R4 with FastLed and a strip WS2811 !? I would like to help the community to move forward on that issue. Which tests can I do ? Which documentation do I need for trying to fixing that ? Regards

It is working fine for me with R4 minima and FastLED 3.6.0 (branch master).

FastLED.addLeds<WS2812, LED_DATA_1_PIN>(leds, TILE_COUNT);

What issues are you facing exactly?

@dugi07

dugi07 commented Apr 23, 2024

Copy link
Copy Markdown

ocack asked about WS2811(12v), not WS2812
I've got same issue: "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
Any idea how to define head(LED_TYPE etc) for ws2811?

@OoDeLally

Copy link
Copy Markdown

WS2811 and WS2812 are not different. WS2812 is a data-driven LED internally using a WS2811 to convert the data to RGB.

@dugi07

dugi07 commented Apr 24, 2024

Copy link
Copy Markdown

FastLED 3.6.0
Arduino UNO R4 Wifi
Arduino IDE 2.3.2 (Exaple->fastLed->RGBSetDemo)

#include <FastLED.h>
#define NUM_LEDS 40
CRGBArray<NUM_LEDS> leds;
void setup() {
  FastLED.addLeds<WS2812,2>(leds, NUM_LEDS);
}
void loop(){ 
  static uint8_t hue;
  for(int i = 0; i < NUM_LEDS/2; i++) {   
    leds.fadeToBlackBy(40);
    leds[i] = CHSV(hue++,255,255); 
    leds(NUM_LEDS/2,NUM_LEDS-1) = leds(NUM_LEDS/2 - 1 ,0);
    FastLED.delay(33);
  }
}

In file included from d:.../FastLED.h:51:0,
from D:..\RGBSetDemo.ino:5:
d:...\FastLED\src/led_sysdefs.h:61:2: error: #error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
#error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
^~~~~
exit status 1

Compilation error: exit status 1

Any ideas?

@OoDeLally

Copy link
Copy Markdown

are you using the master branch?
The version served by the arduino IDE may be older

@dugi07

dugi07 commented Apr 25, 2024 •

Copy link
Copy Markdown

Resolved.
First i was pretty sure that arduino download the newest version - it isn't! Use git Desktop to download FastLED from github or double check zip file after downloading. In my case browser made my confiuse with zip so i started frome begining again(new: scetchbook lokation, project, library, etc)

Thx for help to OoDeLally - beer for u for helping.

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

Successfully merging this pull request may close these issues.

6 participants