sowbug / G35Arduino

An Arduino library for GE Color Effects G-35 holiday lights.
Other
64 stars 24 forks source link

Multiple strings as one Issue, GString settings ignored. #18

Closed tc3driver closed 10 years ago

tc3driver commented 10 years ago

Hi Mike,

Great library you have going here.

I am having an issue where the GString directive is not honoring the settings.

No matter the settings that are put in place, in the first strand bulb 0 is always blub 0, no matter the settings I put in place.

Also no matter the number of bulbs setting is also ignored.

I am really confused here.

Any help would be greatly appreciated.

sowbug commented 10 years ago

The line of code that offsets bulb zero is https://github.com/sowbug/G35Arduino/blob/master/G35String.cpp#L54

Can you drop a debug print there and confirm that it's being set to what you expect it is?

Hope your holidays are going well.

tc3driver commented 10 years ago

I was able to figure out the issue, interestingly enough, it was unable to address the correct number of bulbs (i.e. there was a bulb failure) so the enumerate was failing. Found the errant bulb and resoldered the connections and everything is working as expected.

Thank you for the very fast response.

I hope you have a very happy and safe holiday season!

Thanks, TC3

sowbug commented 10 years ago

Wow, I've never heard of that happening! Glad you figured it out.