Skip to content

Instantly share code, notes, and snippets.

@Corteil
Created October 17, 2021 15:31
Show Gist options
  • Save Corteil/115b59a93e508b34e6d0878581e1e9f3 to your computer and use it in GitHub Desktop.
Save Corteil/115b59a93e508b34e6d0878581e1e9f3 to your computer and use it in GitHub Desktop.
Simple servo test code for Dr Footleg's Sentinel hat.
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