From 5ea30e1ad177c60cd14b1f9b9f506720559c8e55 Mon Sep 17 00:00:00 2001 From: Luke Gilliam Date: Fri, 31 Mar 2023 02:59:52 +0000 Subject: [PATCH] Upload files to 'LED-prototype' --- LED-prototype/ColorPalette.ino | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LED-prototype/ColorPalette.ino diff --git a/LED-prototype/ColorPalette.ino b/LED-prototype/ColorPalette.ino new file mode 100644 index 0000000..e022ca6 --- /dev/null +++ b/LED-prototype/ColorPalette.ino @@ -0,0 +1,21 @@ +#include + +#define LED_PIN 7 +#define NUM_LEDS 64 + +CRGB leds[NUM_LEDS]; + +void setup() { + + FastLED.addLeds(leds, NUM_LEDS); + +} + +void loop() { + + for (int i = 0; i <= 64; i++) { + leds[i] = CRGB ( 0, 0, 255); + FastLED.show(); + delay(40); + } +} \ No newline at end of file