Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5112

Python • Re: Script for waveshare relay module

$
0
0
I really am a complete beginner, so I am hoping someone can put me right. I have three relays on the waveshare relay board. I would like them to all operate when the pi is turned on and to open circuit when it is turned off. My pi is being used for a jukebox, and I simply want my amplifier, led strips, and monitor to come on at the same time as the pi. I have tried to add a one second delay before they turn on, hopefully to avoid any problems. I don´t know if I need a service file?I would appreciate any help to get this script to work. I have a feeling it is not right? B.Goode !
Can you post a link to the specific waveshare module?

Also, use code tags when posting your code.

Statistics: Posted by ame — Fri Jun 28, 2024 8:19 am



Viewing all articles
Browse latest Browse all 5112

Trending Articles