I am trying to figure out why when the led lights the serial monitor stops reading. I need it to keep reading so I can put an "else" statement after the "if".
void loop() {
int value = analogRead(pressure1) / 4;
if((value >= 1) && (value <= 150))
for(int wsOut = 5; wsOut < nLEDs; wsOut++){
for(int iOut = 1; iOut < 256;){ // brighten one LED
ledBar[wsOut] = 0xff;
loadws2803();
}
}