Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with vscode extension: open(), devices() don't work. #3

Open
xucs007 opened this issue Jan 11, 2021 · 0 comments
Open

Problem with vscode extension: open(), devices() don't work. #3

xucs007 opened this issue Jan 11, 2021 · 0 comments

Comments

@xucs007
Copy link

xucs007 commented Jan 11, 2021

I don't know if I did it right, but when I tried it in my vscode extension code,
the open(), devices() both failed. I'm trying to debug a usb device from vscode:

typescript code:

import * as AHID from node-hid-async;                                                                                                                                                  
let ahid = new AHID.NodeHidAsync(); 
let devices = await ahid.devices(); 
let device = await ahid.open(vid, pid);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant