uBitWebUSB
JavaScript functions for interacting with micro:bit microcontrollers over WebUSB (Only works in Chrome browsers; Pages must be either HTTPS or local to have permission to access USB)
Main functions are:
- uBitConnectDevice(callback): Prompt user to connect to device and provide callback function for device events- See uBitEventCallbackfor callback format and argument descriptions.
 
- See 
- uBitSend(device): Send data (a- string) to a micro:bit
- uBitDisconnect(device): Disconnect from the designated- micro:bit