                 digitalWrite(C, HIGH);
   }
 
-  if(ledNum == 3)
+  if(ledNum == 3)   // red_LED_01
   { 
                 pinMode(A, OUTPUT);
                 pinMode(B, OUTPUT);

  }
}

void loop()
{


    
  for(;;)
  {

*/




void setLED(int ledNum)
{

if(ledNum == 0)   // added code so the LEDs can be turned off
  {
                pinMode(A, INPUT);
                pinMode(B, INPUT);  // changed to input to trigger tri state.
