import time
from machine import Pin
from time import sleep
#declare constants
HIGH = 1;
LOW = 0;
RELAY1 = Pin(18,Pin.OUT)
RELAY2 = Pin(19,Pin.OUT)
RELAY3 = Pin(20,Pin.OUT)
RELAY4 = Pin(21,Pin.OUT)
while True:
chIn = input("Key Command:")
if('A'):
RELAY1.value(HIGH)