-
-
Save Raghav-Bell/e3d5b9ca008daf60892aa954d3bc0796 to your computer and use it in GitHub Desktop.
BOLT meets Quantum 2
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
if received_ message=='01': | |
mybolt.digitalWrite('0','LOW') | |
mybolt.digitalWrite('1','HIGH') | |
elif received_ message=='10': | |
mybolt.digitalWrite('0','HIGH') | |
mybolt.digitalWrite('1','LOW') | |
elif received_ message=='11': | |
mybolt.digitalWrite('0','HIGH') | |
mybolt.digitalWrite('1','HIGH') | |
else: | |
mybolt.digitalWrite('0','LOW') | |
mybolt.digitalWrite('1','LOW') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment