![]() ![]() Try looking at the keywords.txt to try out the different colors. There's a variety of pre-defined colors in the FastLED library that you can use. Uncomment/edit one of the following lines for your leds arrangement. ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN For led chipsets that are SPI based (four wires - data, clock, ![]() For led chips like Neopixels, which have a data line, ground, and power, you just Select the COM port and board, and hit the upload button. Or copy and paste the modified example in an Arduino sketch. This is useful to test if your APA102 is outputting the correct color before mixing the colors. Now that you have the LED blinking red, try copying and pasting the code in the loop() function two more times to see if you can blink a green and blue. Then upload the code to blink the first LED of the strand! After uploading, you should see the first LED blink with red. Once the code is adjusted, select your board and COM port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |