Reaction_Test_Code/Final_Code

35 lines
614 B
Plaintext

#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