Hi i am a super noob at all things PI, i have done a few simple projects. That said coding is really new to me. Ive read python for dummies and quite a few articles on the web so far, but my latest project im stuck.
Im trying to write a code to controll a 4 channel relay board with my pi. But i want my relays to turn off and on at different intervals independant of each other. So far i think i need to use threading commands, but im not sure how to write them? As an example of what im trying to accomplish.
Relay 1 on 3 seconds off 5 seconds repeating forever
Relay 2 on 5 minutes then off permanently
Relay 3 on permanently
Relay 4 on permanently
If anybody can point me in a direction where i can learn these code commands i will be super grateful!
Ive tried searching all over and cant find what i need. Im sure i just need to get better at searching though lol.