Hello
I have had my GPIO board for a while now and I can turn LEDS on and off again but is there a way that instead of typing:
GPIO.output(7,True)
To turn it on is there a way that I can type 'on' to run that section of code and also the same goes for the off command.
Can anyone help
Thanks