Created
October 17, 2021 15:31
-
-
Save Corteil/115b59a93e508b34e6d0878581e1e9f3 to your computer and use it in GitHub Desktop.
Simple servo test code for Dr Footleg's Sentinel hat.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sentinelboard | |
from time import sleep | |
sb = sentinelboard.SentinelBoard() | |
sb.setServoPosition(1, 120) | |
sb.watchdogPause(0.2) | |
sleep(3) | |
sb.setServoPosition(1, 0) | |
sb.watchdogPause(0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment