-
-
Save chidumennamdi/2a17ceb29f0db47e55475523172e286e to your computer and use it in GitHub Desktop.
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
data = device.open() | |
while(true) { // runs till data is available | |
evt = data.isAvaiable() // checks whether data is available | |
if(evt) | |
break; | |
} | |
log(data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment