-
Hi all,
Been playing with my new pico and was wondering how I would go about executing code on my windows machine when the pico is plugged into the USB port.The e.on("init"... event is fine for executing code on the Pico on startup, but I then want to execute code on the windows machine when the device is plugged in.
Thoughts?
Could be useful for various things but the one I was thinking was for a basic hardware Id authentication token.
Plug it in and it unlocks and logs you in.
I was hoping for something similar to how when you plug in a usb drive it can launch an app/explorer etc.
The polling mechanism would work, but is not ideal. It think event based in some sort of way would be best.
Thanks for quick response though. And great project by they way... :)
Cheers,
Mark