Hello Anvil Community,
I’m in the early stages of building up an application and trying to decide between a browser based or local deployment. The project requires interacting with a USB device to collect data. Has anyone had any success using WebUSB API with Anvil to interact with USB devices?
Hi @connor.colling,
This should definitely work with Anvil, via the anvil.js package. If you find any things that are difficult to interoperate with, or that behave unexpectedly, please let us know so we can keep improving that library!
2 Likes
@daviesian Thanks! So far WebUSB is working nicely with the anvil.js package. It took a little bit for me to figure out how anvil.js wires up js to py. Now I think I know enough to be dangerous with it. I’ll post an update once the project is semi complete.
3 Likes