docs: small fix in gpio article

This commit is contained in:
Oleg Kalachev
2019-06-04 15:50:45 +03:00
parent e1444978bb
commit d3fffb7b54

View File

@@ -57,6 +57,8 @@ level = pi.read(12)
import time
import pigpio
pi = pigpio.pi()
# устанавливаем режим 13 пина на вывод
pi.set_mode(13, pigpio.OUTPUT)