sowbug / G35Arduino

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

MultipleStringsAsOne attached third strand to string_group. Only first two strands perform ProgramRunner. #16

Closed tavedroid closed 11 years ago

tavedroid commented 11 years ago

I made a slight modification to your MultipleStringsAsOne.ino example. I attached three strands of lights to my Arduino. The following code segments execute properly

delay(50); lights_1.enumerate(); lights_2.enumerate(); lights_3.enumerate(); delay(50);

lights_1.do_test_patterns(); lights_2.do_test_patterns(); lights_3.do_test_patterns();

All lights on each strand enumerate and perform the do_test_patterns() function. I then append the third strand to the string_group

string_group.AddString(&lights_1); string_group.AddString(&lights_2); string_group.AddString(&lights_3);

but when the program goes into the void loop() section of the code, only the first and second strand only perform the ProgramRunner section of the code.

Below is a pastebin of all my modifications to your original code http://pastebin.com/tcSQjSv0

sowbug commented 11 years ago

See patch from https://github.com/gsgeschke, merged just now. This ought to fix the issue.