Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- val = GPIO.input(RECEIVE_PIN)
- str = str, val
- if len(str) > 10:
- str = ""
- print str
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement