So it only shows whatever the initial color is. Im really at my wits end here.Įdit: I tested some more reducing the loop code to this:įrom the Serial output I can deduce that It properly changes the color of the LEDs, but the Strip never properly updates beyond the first time. but the software debouncer works.īeyond the first Call to SolidColor() the strip doesnt change color, even though with my improvised switch the method to switch color gets called and I verified that it actually swaps to the correct color and should call the strip.show() function. The 5V header on an Arduino board, for example, is a perfect voltage supply for the LEDs. The WS2812 should operate at anywhere between about 4V to 7V while the WS2812B should operate at anywhere between about 3.3V to 5V. Also I dont have the proper tools to make a proper debouncer for my switches. The WS2812 and WS2812B requires about 5V to work. I currently do not have the tools to verify if it is still running beside that. I can only see that The Serial stops outputting. But at one Point the program always "crashes". I have most of the code and most things seem to work. If youre using a different Arduino board, make sure you check the correct I2C pins: Nano: SDA (A4) SCL (A5) MEGA: SDA (20) SCL (21) Leonardo: SDA (20). I want several modes: All same color, split color (group 1 color1, group2 color2), alternating color and several colors 'flowing' over the strips. The Idea is to have them split into 2 groups. I want several modes: All same color, split color(group 1 color1, group2 color2), alternating color and several colors "flowing" over the strips. I want to drive several Strips from this one Arduino. I want to drive several Strips from this one Arduino.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |