New answers tagged

0 votes

Configure Pi to boot up and run script when plugged in without login

The above example solution worked on my PI Zero after I added the exec python3 to the command string. @reboot (sleep 20; exec python3 /home/pi/;) >> /home/pi/logmyprogram.txt 2&...
user4822420's user avatar
0 votes

How to drive two stepper motors simultaneously

I encountered issues when adding a second motor. The GIL does not allow for both threads to run simultaneously. Mi solution was to add a centralized stepping class (Navigation) and have it ran by a ...
juanmf's user avatar
  • 101
0 votes

RGB Led flickers when controlled by GPIO Raspberry

I had the same issue with flickering and this code solved the issue. Apparently if the code works as intented "enough", even there is no errors, there can be small delaying stuff that piles ...
Att1Tude's user avatar
0 votes

Hosting a lavalink server and connecting to it at the same time fails

After asking around, I have found the answer to my problem. I wasn't calling Lavalink from its directory (instead calling it from somewhere else), causing it to default to port 8080 (as seen in the ...
LuckElixir's user avatar
0 votes

server stuck at socket.accept()

Try: your_socket.settimeout(3) while True: try: client_socket, client_address = your_socket.accept() # ... your code except socket.timeout: pass In any condition, ...
Caio Silva's user avatar

Top 50 recent answers are included