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

Troubleshooting • Re: Busy GPIO's Raspberry PI5

$
0
0
Well this is awkward - You just won't believe where the error was! :shock: :shock: :shock: :shock:
On main.py I tried to run only SROutput the function that sends a parameter to other script - some extra errors, until I pay some attention to:

Code:

if __name__ == '__main__':    app.run(host='0.0.0.0', port=5000, debug=True)
particularly the debug=True - and guess what?!?!?
Yes, removing the "debug" the program works like a charm

Statistics: Posted by Eddygrinder — Mon Dec 25, 2023 10:25 pm



Viewing all articles
Browse latest Browse all 5361

Trending Articles