A javascript implementation to send data via little stream and pixels protocols
Requirement: Node >v12, because it uses es6 modules and no bundler.
This lib is not yet released via npm. You can install it directly from github until it is listed in npm.
Add this to your package.json
as a dependency:
"little-stream-protocol": "git+https://git@github.com/hputzek/little-stream-protocol.git"
You can use this library to use pixels protocol, s protocol or both.
You can find information about the protocols at their corresponding repos, too:
- Udpx by Martin Fasani - firmware
- Pixels by Samuel Archibald - A super simple LED application layer
- s - Little Stream - Embedded streaming layer for UDPX
To
- quickly test possible parameters/options
- benchmark performance
- quick test led stripes using pixels(+s)
you can use the testing tool. In this case you can set all configuration options for both pixels & s via a gui. See next section for how to start it.
Checkout the repo, then