Documentation

This commit is contained in:
Konstantin Lampalzer 2021-09-12 13:42:55 +02:00
parent cbe3a379bd
commit 8f2944da71
4 changed files with 40 additions and 1 deletions

View file

@ -6,8 +6,13 @@ RESET_PIN = 23
BOOT_PIN = 17
class Reset:
"""Reset the co-processor
"""
@staticmethod
def reset_bot():
"""Reset the co-processor
"""
GPIO.setmode(GPIO.BCM)
GPIO.setup(RESET_PIN, GPIO.OUT)
GPIO.setup(BOOT_PIN, GPIO.OUT)