void setup() {
// put your setup code here, to run once:
pinMode(4, OUTPUT);
pinMode(11, INPUT);
pinMode(0, OUTPUT);
pinMode(8, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int swi1 =digitalRead(11);
if(swi1==1)
{
digitalWrite(4,1);
}
else
{
digitalWrite(4,0);
}
int swi2= digitalRead(8);
if(swi2==1)
{
digitalWrite(0,1);
}
else
{
digitalWrite(0,0);
}
}