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

YD-EPS32-23 2022-V1.3 Development Board RGB LED Not working #4

Open
amin-is opened this issue Jul 4, 2023 · 5 comments
Open

YD-EPS32-23 2022-V1.3 Development Board RGB LED Not working #4

amin-is opened this issue Jul 4, 2023 · 5 comments

Comments

@amin-is
Copy link

amin-is commented Jul 4, 2023

Can you give an example code for this board RGB LED blinking OR NeoPixel example code

@vcc-gnd
Copy link
Owner

vcc-gnd commented Jul 5, 2023 via email

@amin-is
Copy link
Author

amin-is commented Jul 5, 2023

Can you give me arduino c language example. I have purchase a board when backside printed was only Board model, version and your web address and no any others information like this board. May be this board is copy..

@buxiua
Copy link

buxiua commented Jul 24, 2023

@amin-is Hey guy,I have the same problem but I have fixed it,your board may be a knockoff,please see #1 , and this is my program to blink RGB using arduino。

#include <Arduino.h>
#include <FastLED.h>

#define LED_PIN 48
#define LED_NUMS 1

CRGB leds[LED_NUMS];

void setup() {
  Serial.begin(115200);
  FastLED.addLeds<NEOPIXEL, LED_PIN>(leds, LED_NUMS);
}

void loop() {
  leds[0] = CRGB(255, 0, 0);
  FastLED.show();
  Serial.print("RED \n");
  delay(1000);
  leds[0] = CRGB(0, 255, 0);
  FastLED.show();
  Serial.print("Green \n");
  delay(1000);
  leds[0] = CRGB(0, 0, 255);
  FastLED.show();
  Serial.print("Blue \n");
  delay(1000);
}

of course it work correctly!

@vcc-gnd
Copy link
Owner

vcc-gnd commented Sep 7, 2023 via email

@TechRelief
Copy link

F.Y.I. This board has a solder jumper marked RGB right next to the RBG LED which you have to short with a blob of solder and then the standard RGB Arduino sample code will work. The RGB led is connected to GPIO pin 38 and I guess the jumper is there in case you want to use this pin for a different purpose.

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

4 participants