Add Final_Code

Bare bones file for the final file. Will be adding more code with time.
This commit is contained in:
EmmanuelObe 2025-04-02 19:43:45 +00:00
parent a53d48154e
commit f1020cfd35
1 changed files with 35 additions and 0 deletions

35
Final_Code Normal file
View File

@ -0,0 +1,35 @@
#include <Arduino.h>
#include <FastLED.h>
#define NUM_LEDS 300 // How many leds in your strip?
//defining locations of pins
#define DATA_PIN 2
#define BUTTON_PIN 4
CRGB leds[NUM_LEDS]; // Define the array of leds
//file object to store csv
//File dataFile;
/*
*
*
*
*/
void setup() {
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS); // GRB ordering is assumed
Serial.begin(9600); //set the baud rate
pinMode(BUTTON_PIN, INPUT_PULLUP); //use internal pullup resistor
//attachInterrupt(buttonPin, buttonPressed, FALLING); !!!
} // setup
void loop() {
} // loop
//remove a round if not used