mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
docs: small fix in gpio article
This commit is contained in:
@@ -57,6 +57,8 @@ level = pi.read(12)
|
||||
import time
|
||||
import pigpio
|
||||
|
||||
pi = pigpio.pi()
|
||||
|
||||
# устанавливаем режим 13 пина на вывод
|
||||
pi.set_mode(13, pigpio.OUTPUT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user