Skip to content

Instantly share code, notes, and snippets.

@deepakkarki
Created June 10, 2014 17:19
Show Gist options
  • Save deepakkarki/6223ccd116456c3e4d26 to your computer and use it in GitHub Desktop.
Save deepakkarki/6223ccd116456c3e4d26 to your computer and use it in GitHub Desktop.
1st iteration of the PRU Speak API
import pru_speak
botspeak_code = \
''' SET DIO[0] , 1
WAIT 1
SET DIO[0], 0
WAIT 1
GOTO 0'''
pru_speak.load(botspeak_code)
pru_speak.execute()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment