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

Error compilation in Calibrate Example LDP6803 #764

Open
ut01927 opened this Issue Apr 3, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@ut01927
Copy link

ut01927 commented Apr 3, 2019

I am trying to extend the life of my old LDP6803, taking advantage of the fact that it has returned in recent versions of the library.
I started with the most basic, the example of Calibrate.

The problem is that in the compilation gives the following error:


error: could not convert template argument 'LPD6803' to 'EBlockChipsets'
FastLED.addLeds<LPD6803, RGB>(leds, NUM_LEDS);
exit status 1
no matching function for call to 'CFastLED::addLeds(CRGB [6], int)'


I have tried the same example with other LEDs and it works perfectly.

Does anyone know what is happening?
My old LPD6803 thanks you

@focalintent

This comment has been minimized.

Copy link
Member

focalintent commented Apr 3, 2019

You don’t mention what board you are trying to build for - but try explicitly setting the data and clock pins. Also make sure you have the most recent version of the library, LPD6803 support was only recently re-added.

@ut01927

This comment has been minimized.

Copy link
Author

ut01927 commented Apr 4, 2019

Sorry!!!!
My Board is D1 mini but my LDP6803 are very old 3 or 4 years old. It sure does not work.
Thanks for your time!
Greeting

@focalintent

This comment has been minimized.

Copy link
Member

focalintent commented Apr 4, 2019

With the D1 you need to explicitly set the data and clock pins, for example:

#define DATA_PIN 5
#define CLOCK_PIN 6
...
  FastLED.addLeds<LPD6803, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
@ut01927

This comment has been minimized.

Copy link
Author

ut01927 commented Apr 5, 2019

Focalintent Thanks. I'll try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.