Skip to content

Instantly share code, notes, and snippets.

@Raghav-Bell
Created May 12, 2022
Embed
What would you like to do?
BOLT meets Quantum 2
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