New answers tagged

2

I expect in reality the final state of the GPIO is pretty random. As you don't do a cleanup GPIO 17 will be left as an output. Its level will remain at whatever it was when the sleep elapses and RPi.GPIO terminates. The final level may appear stable over successive runs for a variety of reasons. E.g. in a perfect world the sleep will elapse at exactly ...


Top 50 recent answers are included