v1.0.0 Beta 0
Pre-release
Pre-release
WasabiFan
released this
05 Apr 05:51
·
25 commits
to master
since this release
This release brings a bunch of new features as well as a small breaking change.
Breaking change: The DCMotor
class has been renamed to DcMotor
so that it conforms with common PascalCase conventions.
New features and enhancements:
- Updated LED strings on BrickPi for more recent kernels
- Added clarifying docs for some properties
- Added TypeScript typing on string-based properties using TypeScript 1.8's string literal types
- Made "yellow" LED color yellower and added "black" (off)
- Added support for stop commands in motor helper methods
- Added motor helper method for run for time
- Added methods to register for callbacks (uses a polling timer)
- Added constants for potential property values
You can install this beta release by running npm install [email protected]
.
Note: The online documentation has not been updated for this release. Although it is still mostly correct, some information may be missing.