int sw_on = 27;
int sw_off = 19;
int led1 = 15;
int value_on = 0;
int value_off = 0;
void setup() {
 pinMode(sw_on,INPUT_PULLUP); 
 pinMode(sw_off,INPUT_PULLUP); 
 pinMode(led1,OUTPUT);   
 Serial.begin(9600);
}
void loop() {
 value_on = digitalRead(sw_on);    
 value_off = digitalRead(sw_off);    


 Serial.print("sw_on:"+String(value_on));
 Serial.println("  sw_off:"+String(value_off));
 delay(100);

 
 if(value_on == 0){
   digitalWrite(led1,1);
 }    
 if(value_off == 0){
   digitalWrite(led1,0);  
 }  
}
$abcdeabcde151015202530354045505560fghijfghij