631 Commits

Author SHA1 Message Date
Jon Craton
7bc9603952 Replace magic numbers with constants
This replaces several magic numbers in the lpf2hub implementation with constants that were already present in src/consts.ts. This should enhance readability and maintainability. Comments that were made redundant by including the constant names have been removed.

There are still quite a few magic numbers in here that could be replaced, particularly in the byte arrays used to build messages, but I didn't attempt to clean those up.
2020-10-16 15:05:01 -04:00
7852fa5823 Updated packages 2020-10-02 10:39:07 -07:00
7b0e46e645 Merge branch 'master' of github.com:nathankellenicki/node-poweredup 2020-10-02 10:35:51 -07:00
34ffc7816c
Merge pull request #106 from nathankellenicki/dependabot/npm_and_yarn/bl-4.0.3
Bump bl from 4.0.2 to 4.0.3
2020-10-02 10:35:42 -07:00
7bd7d3ce6d Mario support 2020-10-02 10:14:00 -07:00
f64b141227 Updated Control+ motors 2020-10-01 17:34:09 -07:00
dependabot[bot]
15c3f4defc
Bump bl from 4.0.2 to 4.0.3
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-02 16:16:41 +00:00
d86c3f69f8
Merge pull request #99 from aileo/lpf2hub-message-size
Fix message length comparison
2020-07-30 14:03:58 -07:00
6e29cb9914
Merge pull request #101 from nathankellenicki/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-30 13:43:43 -07:00
8d5a3438a3
Merge pull request #102 from nathankellenicki/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-07-30 13:43:31 -07:00
dependabot[bot]
8401297b3f
Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 13:29:10 +00:00
dependabot[bot]
b2eebfa442
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 11:29:47 +00:00
Léo Bonnargent
4394030f6b Fix message length comparison 2020-06-28 17:48:13 +02:00
db492be169
Merge pull request #96 from aileo/abandonware-noble
Change doc link to abandonware/noble
2020-06-23 20:17:58 -07:00
89a47944a5
Update README.md 2020-06-23 20:17:23 -07:00
Léo Bonnargent
511f503912 Change doc link to abandonware/noble
- also add root permisions note to the readme
2020-06-22 13:53:54 +02:00
6bdd454772 Fix for scanStop on Raspberry Pis
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.7.0
2020-06-12 13:48:20 -07:00
9b4d496f34 Updated deps, added exports
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.6.1
2020-06-12 12:52:57 -07:00
afe4eadf08 Fixed docs, updated force sensor for WeDo, added Mindstorms motors
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.6.0
2020-06-12 12:37:07 -07:00
8cbd0b8879 Bumped packages
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.5.3
2020-06-04 22:24:25 -07:00
dee732c8ca More error handling around manuallyAttachDevice
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
v6.5.2
2020-06-03 20:24:03 -07:00
e6c6a3c18f Method for manually attaching devices as a workaround for connection issues
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.5.1
2020-06-03 09:05:41 -07:00
1b2c988409 Added support for the leds on the Technic color sensor
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.5.0
2020-05-31 13:31:53 -07:00
2e2f565ed7
Merge pull request #86 from aileo/mailbox
Improve web ble mailbox
2020-05-30 17:36:56 -07:00
Léo Bonnargent
93d6a9e45a Improve web ble mailbox 2020-05-25 23:19:04 +02:00
bce589a751 Bumped package
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.4.1
2020-05-24 15:54:12 -07:00
6decc7139b gotoPhysicalZero fix
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-24 15:53:18 -07:00
bcc59ce81c Added maxpower
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.4.0
2020-05-24 10:15:30 -07:00
9234e9af34 Bumped version
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.3.0
2020-05-23 19:31:25 -07:00
974b32e98c Updated docs
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-23 19:30:38 -07:00
a7992bf20e Added gotoRealZero
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-23 19:28:54 -07:00
0a9f200e97 Added docs 2020-05-23 18:37:19 -07:00
b219dcf60b Added acceleration/deceleraiton setters for tacho motors 2020-05-23 18:33:04 -07:00
e526e32146 Added resetAngle 2020-05-23 14:22:35 -07:00
a8126b2f3e
Merge pull request #84 from p8nut/master
add Lego constant to consts.ts
2020-05-23 10:24:15 -07:00
andrey_j
b24946ca43 fix hex typo 2020-05-16 16:38:46 +02:00
andrey_j
7ad17ccfcf add Lego missing constant 2020-05-16 16:32:00 +02:00
be7490cc9f Downgraded Noble
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
v6.2.0
2020-04-04 17:38:25 -07:00
6305662d38 Downgraded Noble 2020-04-04 17:38:14 -07:00
b66eb5befa Updated docs
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is failing
2020-04-04 17:27:36 -07:00
b9972b0527 Bumped version 2020-04-04 17:17:34 -07:00
6343c97175
Merge pull request #80 from nathankellenicki/feature/power-functions-ir
[feat] Power Functions IR
2020-04-04 17:16:17 -07:00
4bf26cf158 Fixed bugs, updated packages 2020-04-04 17:14:48 -07:00
48532ab56f Power Functions fixes 2020-04-04 17:05:53 -07:00
45670f57c7
Update src/devices/colordistancesensor.ts
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2020-03-25 10:00:31 -07:00
04313c746d
Update src/devices/colordistancesensor.ts
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2020-03-25 10:00:22 -07:00
97d0c407cf
Update src/devices/colordistancesensor.ts
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2020-03-25 09:57:25 -07:00
3145fec599
Update src/devices/colordistancesensor.ts
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2020-03-25 09:54:56 -07:00
232ef6835e
Update src/devices/colordistancesensor.ts
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2020-03-25 09:54:27 -07:00
0ec0692aad PF extended channel mode 2020-03-24 19:09:48 -07:00