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

Compilation error: No connection established (Corsair Lighting Protocol) #315

Closed
Agademo opened this issue Nov 24, 2022 · 15 comments
Closed
Labels
Stale support User needs help

Comments

@Agademo
Copy link

Agademo commented Nov 24, 2022

Compilation error: No connection established
Hello everyone, I followed all the steps on the Corsair Lighting Protocol page in order, but when I click on the print library tab, I get the error "Compilation error: No connection established". Can you help me please? Thank you.

System (please complete the following information):

  • OS: [e.g. Windows 10]
  • Board: [e.g. Arduino Leonardo]
  • Device: [e.g. Lighting Node PRO]
  • Version of IDE: [e.g. Arduino IDE 2.0.0 or 2.0.2]
  • Version of CLP: [e.g. 0.15.0]
  • Version of CLP Boards: [e.g. 0.2.0]
  • Sketch: [e.g. RepeatAndScale]

Code changes
i didn't change

@Agademo Agademo added the bug Something isn't working label Nov 24, 2022
@Legion2
Copy link
Owner

Legion2 commented Nov 24, 2022

Hi, can you try to update Arduino IDE to 2.0.2 or later, there was a bug which causes this error.

@Agademo
Copy link
Author

Agademo commented Nov 24, 2022

I got the same error in Arduino IDE 2.0.2

@Legion2
Copy link
Owner

Legion2 commented Nov 24, 2022

but when I click on the print library tab
what do you mean with the "print library tab", can you share a screenshot please

@Agademo
Copy link
Author

Agademo commented Nov 25, 2022

I solved the problem. The problem is that I have uploaded the CLP code of a different board to the Arduino Leonardo board. Thanks for help. Now I have a different question. I can now burn a total of 60 pixels with the card in my hand. Is it possible to increase this number in the code?

@Legion2
Copy link
Owner

Legion2 commented Nov 27, 2022

Yes you can increase the number of pixels, there are two ways,

  1. choose a different example sketch, like the LS100, which allows you in iCUE to select different LEDs with more pixels.
  2. Scale up the 60 pixel to e.g.120 pixels with the scale function, see https://github.com/Legion2/CorsairLightingProtocol#repeat-or-scale-led-channels

You can also combine both.

Keep in mind there is only limited memory available and each pixel needs memory, so in total you can get around 400 pixels.

@Legion2 Legion2 added support User needs help and removed bug Something isn't working labels Nov 27, 2022
@Agademo
Copy link
Author

Agademo commented Nov 27, 2022

Thank you so much for your reply and help man. Can we burn 400 pixels for each channel, or can we burn 400 pixels in total for both channels. In fact, if you had written an explanatory video, it would have been inedible :).

@Agademo
Copy link
Author

Agademo commented Nov 27, 2022

I wanted to share a picture to be more descriptive. There is a total of 10 meters of WS2812b strip LEDs on the edges of my table, which you can see. These LEDs have a total of 600 pixels. The shelf you see at the top has a total of 4 meters and 240 pixels. In this case, do you need two arduino leonardos separately for the table and shelf?
20210424_162723

@Legion2
Copy link
Owner

Legion2 commented Nov 27, 2022

You can get around 400 pixel total with an arduino leonardo, I recommend using one channel of the LS100. The LS100 provides ambient lighting functions in iCUE. You can configure 135 pixels in iCUE and scale them up to around 400 pixel with the arduino (you should test/try which is the maximum, before building something).
Are all your 600 pixels individually addressable, or are they in groups of 3 or so?

@Agademo
Copy link
Author

Agademo commented Nov 27, 2022

I divided all 600 pixels into 4 different groups.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Dec 12, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2022
@Agademo
Copy link
Author

Agademo commented Feb 12, 2023

Hello, how exactly can I increase the number of pixels, what values ​​should I enter? can you help? Total number of addressable pixels 600

@Legion2
Copy link
Owner

Legion2 commented Feb 13, 2023

Which of the both approaches do you want from #315 (comment) ?

@Agademo
Copy link
Author

Agademo commented Feb 13, 2023

As I have shown in the attached picture, I created an LS100 controller with Arduino Leonardo. With this controller, 135 pixel LEDs are currently on. You said before with this code that a maximum of 400 pixel leds can be lit. In the code prepared for the LS100
CRGB ledsChannel1[135];
CRGB ledsChannel2[54];
values ​​are available. How do I set the code so that I can light a maximum of 400 pixel leds?

Adsız

@Agademo
Copy link
Author

Agademo commented Feb 14, 2023

Very happy if you help🙏

@Legion2
Copy link
Owner

Legion2 commented Feb 14, 2023

see #325

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

No branches or pull requests

2 participants