Relative Content

Tag Archive for pythonpython-3.xraspberry-pigpio

What is the most likely issue in my RPI OS script

So, my issue is: I made a script partially copied from: https://issuu.com/themagpi/docs/issue27final/17?e=1 to send an email when a pin on the RPI’s GPIO goes high. I had to manually fix everything that broke between Python1 to Python3, it doesn’t change from 0s to 1s in the prompt. I have tried replacing the wires but that’s about it since I’m a beginner. Here’s my code: