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

LUXEON CODE error #50

Open
Vulkan1 opened this issue Mar 17, 2017 · 16 comments
Open

LUXEON CODE error #50

Vulkan1 opened this issue Mar 17, 2017 · 16 comments

Comments

@Vulkan1
Copy link

Vulkan1 commented Mar 17, 2017

Hi,

so I went to update from 1.4 to 1.5, I modified the config so it was the same as 1.4

I get this error, a new one for me, and I cant even comprehend what it means

Arduino: 1.6.13 (Windows 8.1), Board: "Arduino Nano, ATmega328"

exit status 1
cannot convert 'cRGB' to 'uint8_t {aka unsigned char}' for argument '2' to 'void getColor(uint8_t*, uint8_t)'

Any ideas
im fairly sure its related to LUXEON, due to this being the error line (the second line)
#if defined LUXEON getColor(currentColor, storage.sndProfile[storage.soundFont].blasterboltColor);

@Protonerd
Copy link
Contributor

Hi Vulkan. it is unfortunately known that LUXEON is not compiling, sole reason is that LUXEON was not in focus for the 1.5. I also do not have any LUXEON build, therefore I did the verification only for neopixels and led strings. I need volunteers to debug the code for LUXEON until I manage to swap the board to DIYino in one of my LUXEON type sabers. Care to debug? The thing is, I wanted to use this cRGB type not only for neopixels to store the color setting but also generally for all RGB LEDs (incl. LUXEON). But the LUXEON functions still are not updated to work with the new type.

@Vulkan1
Copy link
Author

Vulkan1 commented Mar 20, 2017

I'm currently undergoing full time study, but I have have a go every now and then

@Vulkan1
Copy link
Author

Vulkan1 commented Mar 20, 2017

Also which neo pixels are you using, mind sending me a link?

@Protonerd
Copy link
Contributor

Yes, I'm using these ones: http://www.ebay.de/itm/1m-30-60-144-RGB-LED-Strip-Stripe-mit-WS2812B-5050-SMD-LEDs-WS2812-Versand-ZJ-/172344003101?var=&hash=item282080ca1d

This is a German ebay site, but you get the idea I guess. Important is the 144LED/m, WS2812B controller type

@Vulkan1
Copy link
Author

Vulkan1 commented Mar 23, 2017

I thought in the code it said max 120. Or with the memory saved in the 1.5v can you use many more

@Protonerd
Copy link
Contributor

I strove to achieve 120 because that many will fit into a ~32" blade, which is more or less the standard blade length. And less than 1m :)
probably the code can be optimized to accommodate more than 120, I never tried to find the exact limit, 120 is good enough. You need to consider that with 2 stipes back to back, you end up with 2x120=240, in terms of current draw that is already running the boards to the extreme limits.

@Vulkan1
Copy link
Author

Vulkan1 commented Mar 23, 2017

ill order some and start playing around with them, not a bad price for the Chinese bands

@Protonerd
Copy link
Contributor

I fixed the LUXEON (not STAR_LED) code and just committed the updates to v1.5, try and feed back!

@Vulkan1
Copy link
Author

Vulkan1 commented Mar 24, 2017

Will do

@jbkuma
Copy link

jbkuma commented Mar 24, 2017 via email

@jbkuma
Copy link

jbkuma commented Mar 25, 2017 via email

@Protonerd
Copy link
Contributor

Yes, indeed it is based on your code, I fixed single button and STAR_LED as well. I will look into the BUTTONLEDPIN/ACCENT_LED controversy... thanks for pointing it out!

@jbkuma
Copy link

jbkuma commented Mar 25, 2017 via email

@Protonerd
Copy link
Contributor

Vulkan, is it working now for you? It works with LUXEOn on my side...

@Vulkan1
Copy link
Author

Vulkan1 commented Mar 25, 2017

Sorry been busy with work and uni, that said I'm going to hook up my setup tonight and run it off some leds.
I built mine modular so my main advantage is. I can just pull off the speaker, buttons, battery and plug them into the other main "motherboard". Working on a neopixel one in eagle. Software is blowing my mind right now.

@Protonerd
Copy link
Contributor

If you want to have a reliable solution, go for a DIYino board.

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