nathankellenicki / node-poweredup

A Javascript module to interface with LEGO Powered Up components.
https://nathankellenicki.github.io/node-poweredup/
MIT License
477 stars 59 forks source link

Basic implementation to support pybricks hubs #165

Open Debenben opened 2 years ago

Debenben commented 2 years ago

This commit adds a new hub type: PybricksHub. To use the new hub, you need to have Pybricks firmware installed on your hub, see https://pybricks.com for further instructions.

For now, the hub is only available in the Node.js, not in the Web- Bluetooth implementation. Properties like firmware version are not implemented yet. You can connect, compile, upload and run Python code and send and recieve data via NUS with one connected Pybricks hub at a time.