Created
October 21, 2018 10:09
-
-
Save aybarburak/04b3123aaaa3038b2fb84c96d1b20fbe 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
device.open() | |
.then(() => device.selectConfiguration(1)) | |
.then(() => device.claimInterface(0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment