void setup(){
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(13,INPUT);
pinMode(32,OUTPUT);
}
int switchstatus;
void loop(){
switchstatus=digitalRead(13);
if (switchstatus ==1)
digitalWrite(32, HIGH);
else
digitalWrite(32,LOW);
}