Hello all im new here trying to learn something New in the C++ world . I decide to tackle a project I wanted to do but im running in to some complying issues hopefully I can get it resovled and most importantly I learned . I hope I entered this code correctly. any insight would be great .
Im using an Arduino NANO to try and pull this off.
total leds running are 107 to my left and 107 to my right.
#include<FastLED.h>
#define LED_PIN 12
#define NUM_LEDS 107
int Button_Pin[] = {2, 3, 4, 5};
CRGB leds[NUM_LEDS];
void setup() {
 FastLED.addLeds<WS2812,LED_PIN, GRB>(leds, NUM_LEDS);
 pinMode(Button_Pin[0], INPUT_PULLUP); //turn signal left
 pinMode(Button_Pin[1], INPUT_PULLUP); //turn signal right
 pinMode(Button_Pin[2], INPUT_PULLUP); //BRAKE
 pinMode(Button_Pin[3], INPUT_PULLUP); //parking lights
}
void loop() {
 if (digitalRead(Button_Pin[0]) == HIGH)
Â
 Â
 {
  leds[0] = CRGB(255, 0, 0);
  leds[1] = CRGB(255, 0, 0);
  leds[2] = CRGB(255, 0, 0);
  leds[3] = CRGB(255, 0, 0);
  leds[4] = CRGB(255, 0, 0);
  leds[5] = CRGB(255, 0, 0);
  leds[6] = CRGB(255, 0, 0);
  leds[7] = CRGB(255, 0, 0);
  leds[8] = CRGB(255, 0, 0);
  leds[9] = CRGB(255, 0, 0);
  leds[10] = CRGB(255, 0, 0);
  leds[11] = CRGB(255, 0, 0);
  leds[12] = CRGB(255, 0, 0);
  leds[13] = CRGB(255, 0, 0);
  leds[14] = CRGB(255, 0, 0);
  leds[15] = CRGB(255, 0, 0);
  leds[16] = CRGB(255, 0, 0);
  leds[17] = CRGB(255, 0, 0);
  leds[18] = CRGB(255, 0, 0);
  leds[19] = CRGB(255, 0, 0);
  leds[20] = CRGB(255, 0, 0);
  leds[21] = CRGB(255, 0, 0);
  leds[22] = CRGB(255, 0, 0);
  leds[23] = CRGB(255, 0, 0);
  leds[24] = CRGB(255, 0, 0);
  leds[25] = CRGB(255, 0, 0);
  leds[26] = CRGB(255, 0, 0);
  leds[27] = CRGB(255, 0, 0);
  leds[28] = CRGB(255, 0, 0);
  leds[29] = CRGB(255, 0, 0);
  leds[30] = CRGB(255, 0, 0);
  leds[31] = CRGB(255, 0, 0);
  leds[32] = CRGB(255, 0, 0);
  FastLed.show();
   leds[14] = CRGB(255, 255, 0);
  FastLed.show();
  Fastled.delay(40);
  {
  if (digitalRead[0] == HIGH{ //logical true 1}
  ELSE if (digitalRead[1] == HIGH) { //logical true 2}
    ELSE if (digitalRead[2] == HIGH) { //logical true 3)
     ElSE if (digitalRead[3] == HIGH) { //logical true 4)
      ELSE if (digitalRead[4] == HIGH) { //logical true 5)
       ELSE{logical false}
      }
     }
    }
   }
my error codes 'Fastled' not declared in this scope.