def setPin(pinNumber, state):
 global PORT
 PORT.setPin(pinNumber, state)

def setPin ( pinNumber , state ) : global PORT PORT . setPin ( pinNumber , state )
set a desired pin to be high (1) or low (0) .