Sw1 = 1;      // turn on port
delay(20);    // delay
SW1 = 0;      // turn off port