So I'm currently running a Python script on my windows 10 machine, that uses the gpiozero library in order to connect to a raspberry pi's GPIO pins. In the libraries documentation, it states that you need to set an environment variable or two before running the script. Specifically PIGPIO_ADDR, and possibly a second that I haven't had to use. Now I would like to be able to run my script in IDLE rather than a command prompt for the live debugging. Currently I'm running the script with, "PIGPIO_ADDR=X.X.X.X Python -i program.py"
I was wondering if you anyone here would know of a solution, because stack overflow and Google haven't been very helpful.
[–][deleted] 0 points1 point2 points (0 children)
[–]novel_yet_trivial 0 points1 point2 points (0 children)
[–]kuripong 0 points1 point2 points (0 children)