For some reason, my byte variable keeps saying it is not declared in the scope. Does anyone see what's wrong with this?
//BOARD
int clockPinA = 8;
int latchPinA = 12;
int dataPinA = 11;
//set up LED's
byte Test = B1111111111111111;
void setup() {
// put your setup code here, to run once:
pinMode(latchPinA, OUTPUT); //sets pins to output - makes them light up
pinMode(clockPinA, OUTPUT);//pins on d2l
pinMode(dataPinA, OUTPUT);
}
////loop that lights up each light one at a time in a row
void loop() {
digitalWrite(latchPinA, LOW);
shiftOut(dataPinA, clockPinA, LSBFIRST, Test);
digitalWrite(latchPinA, HIGH);
}