node-poweredup
node-poweredup copied to clipboard
A Javascript module to interface with LEGO Powered Up components.
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,...
Initially I only planned to do some small improvements to prevent my port input commands from clogging up such that they were already outdated when being transmitted. But the whole...
fix for issue #152 as suggested there I don't have a mario hub to test
I have been missing an example to test basic functionality with Duplo train, which my son has. This PR adds it to the Examples folder.
Bumps [terser](https://github.com/terser/terser) from 5.7.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...
This isn't necessarily finished code - but I wanted to gauge people's opinions on supporting [Circuit Cubes](https://circuitcubes.com/) alongside PoweredUp hubs. I contacted `[email protected]` over the weekend and they kindly supplied...
I'm trying to connect to a Hub (88009) by running the _sample_usage.js_ file, but all I get is the error: node:internal/modules/cjs/loader:361`` throw err; ^ Error: Cannot find module 'c:\Users\block\OneDrive\Documents\node-poweredup-1\dist\node\index-node.js'. Please...
Hi all: In China, miniprogram is very popular and widely used in WeChat, Alipay and other big apps. WeChat miniprogram provide some BLE apis so it's able to connect the...
Fix race in _determineLPF2HubType that makes a connection fall in Android web Bluetooth (see #157 )
During a couple of different tests, I came across the following problem, here illustrated in a reproducible way for motor rotation: ``` const motorA = await hub.waitForDeviceAtPort("A"); motorA.requestUpdate(); // requestUpdate...