Hi, so I am new to programming on the Pi, but am able to find most of the answers I want on how either I am having trouble finding an answer for the problem I am having.
At the moment I am playing around with LED's and buttons and am currently trying to combine and groups commands, what I mean by this is for example I have multiple LED's and am creating a sequence of turning them on and off but to save time instead of having to write the whole line of code to turn each LED on and off I would like to be able to write the command once and then rename it to fir example LED1on or LED3off.
I hope I have explained my self and if not just let me know and I will try and reword it.
Thanks