 const int ledRedPin = 13;
 const int ledBluePin = 52;
 const int ledGreenPin = 53;
+int MyBrightness= 100; // up to 255
 String test;
 
 double V1A = 0.00;

  
  if(V2A < 151.5)
  {
    portIEA.setPixelColor(0, portIEA.Color(255,0,0));
    portIEA.setPixelColor(1, portIEA.Color(255,0,0));
    portIEA.setPixelColor(2, portIEA.Color(255,0,0));
    portIEA.setPixelColor(3, portIEA.Color(255,0,0));
    portIEA.setPixelColor(4, portIEA.Color(255,0,0));
    portIEA.setPixelColor(5, portIEA.Color(255,0,0));
    portIEA.show();
  }
  else if(V2A > 160)
  {
    portIEA.setPixelColor(0, portIEA.Color(255,255,255));
    portIEA.setPixelColor(1, portIEA.Color(255,255,255));
    portIEA.setPixelColor(2, portIEA.Color(255,255,255));
    portIEA.setPixelColor(3, portIEA.Color(255,255,255));
    portIEA.setPixelColor(4, portIEA.Color(255,255,255));
    portIEA.setPixelColor(5, portIEA.Color(255,255,255));
    portIEA.show();
  }
  else
  {
    portIEA.setPixelColor(0, portIEA.Color(0,0,255));
    portIEA.setPixelColor(1, portIEA.Color(0,0,255));
    portIEA.setPixelColor(2, portIEA.Color(0,0,255));
    portIEA.setPixelColor(3, portIEA.Color(0,0,255));
    portIEA.setPixelColor(4, portIEA.Color(0,0,255));
    portIEA.setPixelColor(5, portIEA.Color(0,0,255));
    portIEA.show();
  }
  
  if(V4A < 151.5)
  {
    portIEA.setPixelColor(6, portIEA.Color(255,0,0));
    portIEA.setPixelColor(7, portIEA.Color(255,0,0));
    portIEA.setPixelColor(8, portIEA.Color(255,0,0));
    portIEA.setPixelColor(9, portIEA.Color(255,0,0));
    portIEA.setPixelColor(10, portIEA.Color(255,0,0));
    portIEA.setPixelColor(11, portIEA.Color(255,0,0));
    portIEA.show();
  }
  else if(V4A > 160)
  {
    portIEA.setPixelColor(6, portIEA.Color(255,255,255));
    portIEA.setPixelColor(7, portIEA.Color(255,255,255));
    portIEA.setPixelColor(8, portIEA.Color(255,255,255));
    portIEA.setPixelColor(9, portIEA.Color(255,255,255));
    portIEA.setPixelColor(10, portIEA.Color(255,255,255));
    portIEA.setPixelColor(11, portIEA.Color(255,255,255));
    portIEA.show();
  }
  else
  {
    portIEA.setPixelColor(6, portIEA.Color(0,0,255));
    portIEA.setPixelColor(7, portIEA.Color(0,0,255));
    portIEA.setPixelColor(8, portIEA.Color(0,0,255));
    portIEA.setPixelColor(9, portIEA.Color(0,0,255));
    portIEA.setPixelColor(10, portIEA.Color(0,0,255));
    portIEA.setPixelColor(11, portIEA.Color(0,0,255));
    portIEA.show();
  }

  if(V4B < 151.5)
  {
    portIEA.setPixelColor(12, portIEA.Color(255,0,0));
    portIEA.setPixelColor(13, portIEA.Color(255,0,0));
    portIEA.setPixelColor(14, portIEA.Color(255,0,0));
    portIEA.setPixelColor(15, portIEA.Color(255,0,0));
    portIEA.setPixelColor(16, portIEA.Color(255,0,0));
    portIEA.setPixelColor(17, portIEA.Color(255,0,0));
    portIEA.show();
  }
  else if(V4B > 160)
  {
    portIEA.setPixelColor(12, portIEA.Color(255,255,255));
    portIEA.setPixelColor(13, portIEA.Color(255,255,255));
    portIEA.setPixelColor(14, portIEA.Color(255,255,255));
    portIEA.setPixelColor(15, portIEA.Color(255,255,255));
    portIEA.setPixelColor(16, portIEA.Color(255,255,255));
    portIEA.setPixelColor(17, portIEA.Color(255,255,255));
    portIEA.show();
  }
  else
  {
    portIEA.setPixelColor(12, portIEA.Color(0,0,255));
    portIEA.setPixelColor(13, portIEA.Color(0,0,255));
    portIEA.setPixelColor(14, portIEA.Color(0,0,255));
    portIEA.setPixelColor(15, portIEA.Color(0,0,255));
    portIEA.setPixelColor(16, portIEA.Color(0,0,255));
    portIEA.setPixelColor(17, portIEA.Color(0,0,255));
    portIEA.show();
  }

  if(V2B < 151.5)
  {
    portIEA.setPixelColor(18, portIEA.Color(255,0,0));
    portIEA.setPixelColor(19, portIEA.Color(255,0,0));
    portIEA.setPixelColor(20, portIEA.Color(255,0,0));
    portIEA.setPixelColor(21, portIEA.Color(255,0,0));
    portIEA.setPixelColor(22, portIEA.Color(255,0,0));
    portIEA.setPixelColor(23, portIEA.Color(255,0,0));
    portIEA.show();
  }
  else if(V2B > 160)
  {
    portIEA.setPixelColor(18, portIEA.Color(255,255,255));
    portIEA.setPixelColor(19, portIEA.Color(255,255,255));
    portIEA.setPixelColor(20, portIEA.Color(255,255,255));
    portIEA.setPixelColor(21, portIEA.Color(255,255,255));
    portIEA.setPixelColor(22, portIEA.Color(255,255,255));
    portIEA.setPixelColor(23, portIEA.Color(255,255,255));
    portIEA.show();
  }
  else
  {
    portIEA.setPixelColor(18, portIEA.Color(0,0,255));
    portIEA.setPixelColor(19, portIEA.Color(0,0,255));
    portIEA.setPixelColor(20, portIEA.Color(0,0,255));
    portIEA.setPixelColor(21, portIEA.Color(0,0,255));
    portIEA.setPixelColor(22, portIEA.Color(0,0,255));
    portIEA.setPixelColor(23, portIEA.Color(0,0,255));
    portIEA.show();
  }
  if(V1A < 151.5)
  {
    stbdIEA.setPixelColor(0, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(1, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(2, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(3, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(4, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(5, stbdIEA.Color(255,0,0));
    stbdIEA.show();
  }
  else if(V1A > 160)
  {
    stbdIEA.setPixelColor(0, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(1, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(2, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(3, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(4, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(5, stbdIEA.Color(255,255,255));
    stbdIEA.show();
  }
  else
  {
    stbdIEA.setPixelColor(0, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(1, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(2, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(3, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(4, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(5, stbdIEA.Color(0,0,255));
    stbdIEA.show();
  }
  
  if(V3A < 151.5)
  {
    stbdIEA.setPixelColor(6, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(7, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(8, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(9, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(10, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(11, stbdIEA.Color(255,0,0));
    stbdIEA.show();
  }
  else if(V3A > 160)
  {
    stbdIEA.setPixelColor(6, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(7, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(8, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(9, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(10, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(11, stbdIEA.Color(255,255,255));
    stbdIEA.show();
  }
  else
  {
    stbdIEA.setPixelColor(6, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(7, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(8, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(9, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(10, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(11, stbdIEA.Color(0,0,255));
    stbdIEA.show();
  }

  if(V3B < 151.5)
  {
    stbdIEA.setPixelColor(12, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(13, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(14, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(15, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(16, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(17, stbdIEA.Color(255,0,0));
    stbdIEA.show();
  }
  else if(V3B > 160)
  {
    stbdIEA.setPixelColor(12, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(13, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(14, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(15, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(16, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(17, stbdIEA.Color(255,255,255));
    stbdIEA.show();
  }
  else
  {
    stbdIEA.setPixelColor(12, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(13, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(14, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(15, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(16, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(17, stbdIEA.Color(0,0,255));
    stbdIEA.show();
  }

  if(V1B < 151.5)
  {
    stbdIEA.setPixelColor(18, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(19, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(20, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(21, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(22, stbdIEA.Color(255,0,0));
    stbdIEA.setPixelColor(23, stbdIEA.Color(255,0,0));
    stbdIEA.show();
  }
  else if(V1B > 160)
  {
    stbdIEA.setPixelColor(18, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(19, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(20, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(21, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(22, stbdIEA.Color(255,255,255));
    stbdIEA.setPixelColor(23, stbdIEA.Color(255,255,255));
    stbdIEA.show();
  }
  else
  {
    stbdIEA.setPixelColor(18, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(19, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(20, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(21, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(22, stbdIEA.Color(0,0,255));
    stbdIEA.setPixelColor(23, stbdIEA.Color(0,0,255));
    stbdIEA.show();
  }
  if(Disco)

  portIEA.show();
  stbdIEA.show();
  moduleLED.show();
  allSet_module(moduleLED.Color(MyBrightness,0,0),5);
}

void loop()
