diff --git a/ABOUT.md b/ABOUT.md index 171e2a4..308f172 100644 --- a/ABOUT.md +++ b/ABOUT.md @@ -35,8 +35,8 @@ While most Powered UP components and Hubs are compatible with each other, there | WeDo 2.0 Medium Motor | Motor | Yes | Yes | Yes | 45300
76112 | | Boost Color and Distance Sensor | Sensor | *Partial* | Yes | Yes | 17101 | | Boost Tacho Motor | Motor/Sensor | *Partial* | Yes | *Partial* | 17101 | -| Powered Up Train Motor | Motor | Yes | Yes | Yes | 60197
60198 | -| Powered Up LED Lights | Light | Yes | Yes | Yes | 88005 | +| Powered UP Train Motor | Motor | Yes | Yes | Yes | 60197
60198 | +| Powered UP LED Lights | Light | Yes | Yes | Yes | 88005 | ### Known Issues and Limitations diff --git a/DOCS.md b/DOCS.md index 49828b5..39f00ae 100644 --- a/DOCS.md +++ b/DOCS.md @@ -754,7 +754,7 @@ Emits when an attached motor or sensor is detached from the Hub. ### new PUPHub() -The PUPHub is emitted if the discovered device is a Powered Up Hub. +The PUPHub is emitted if the discovered device is a Powered UP Hub. @@ -1044,7 +1044,7 @@ Emits when an attached motor or sensor is detached from the Hub. ### new PUPRemote() -The PUPRemote is emitted if the discovered device is a Powered Up Remote. +The PUPRemote is emitted if the discovered device is a Powered UP Remote. diff --git a/README.md b/README.md index b93981a..ea9e36d 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ While most Powered UP components and Hubs are compatible with each other, there | WeDo 2.0 Medium Motor | Motor | Yes | Yes | Yes | 45300
76112 | | Boost Color and Distance Sensor | Sensor | *Partial* | Yes | Yes | 17101 | | Boost Tacho Motor | Motor/Sensor | *Partial* | Yes | *Partial* | 17101 | -| Powered Up Train Motor | Motor | Yes | Yes | Yes | 60197
60198 | -| Powered Up LED Lights | Light | Yes | Yes | Yes | 88005 | +| Powered UP Train Motor | Motor | Yes | Yes | Yes | 60197
60198 | +| Powered UP LED Lights | Light | Yes | Yes | Yes | 88005 | ### Known Issues and Limitations @@ -833,7 +833,7 @@ Emits when an attached motor or sensor is detached from the Hub. ### new PUPHub() -The PUPHub is emitted if the discovered device is a Powered Up Hub. +The PUPHub is emitted if the discovered device is a Powered UP Hub. @@ -1123,7 +1123,7 @@ Emits when an attached motor or sensor is detached from the Hub. ### new PUPRemote() -The PUPRemote is emitted if the discovered device is a Powered Up Remote. +The PUPRemote is emitted if the discovered device is a Powered UP Remote. diff --git a/examples/batmobile_remote.js b/examples/batmobile_remote.js index 09833d5..ec7b325 100644 --- a/examples/batmobile_remote.js +++ b/examples/batmobile_remote.js @@ -1,6 +1,6 @@ /* * - * This example allows you to connect your Batmobile and a Powered Up Remote Control to your laptop, and enables the control of the Batmobile with the Remote. + * This example allows you to connect your Batmobile and a Powered UP Remote Control to your laptop, and enables the control of the Batmobile with the Remote. * */ @@ -81,7 +81,7 @@ poweredUP.on("discover", async (hub) => { // Wait to Batmobile and Remote }) await remote.connect(); - console.log("Connected to Powered Up Remote!"); + console.log("Connected to Powered UP Remote!"); } if (batmobile && remote) { diff --git a/examples/vernie_remote.js b/examples/vernie_remote.js index 95a0860..0bc48ba 100644 --- a/examples/vernie_remote.js +++ b/examples/vernie_remote.js @@ -1,6 +1,6 @@ /* * - * This example allows you to connect Vernie and a Powered Up Remote Control to your laptop, and enables the control of Vernie with the Remote. + * This example allows you to connect Vernie and a Powered UP Remote Control to your laptop, and enables the control of Vernie with the Remote. * */ @@ -63,7 +63,7 @@ poweredUP.on("discover", async (hub) => { // Wait to discover Vernie and Remote }) await remote.connect(); - console.log("Connected to Powered Up Remote!"); + console.log("Connected to Powered UP Remote!"); } if (vernie && remote) { diff --git a/package.json b/package.json index e8defc6..c894e6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-poweredup", - "version": "1.1.0", + "version": "1.1.1", "description": "A Node.js module to interface with LEGO Powered UP components.", "homepage": "https://github.com/nathankellenicki/node-poweredup/", "main": "dist/poweredup.js", diff --git a/puphub.ts b/puphub.ts index 09d8c34..2f29a66 100644 --- a/puphub.ts +++ b/puphub.ts @@ -11,7 +11,7 @@ const debug = Debug("puphub"); /** - * The PUPHub is emitted if the discovered device is a Powered Up Hub. + * The PUPHub is emitted if the discovered device is a Powered UP Hub. * @class PUPHub * @extends LPF2Hub * @extends Hub @@ -19,7 +19,7 @@ const debug = Debug("puphub"); export class PUPHub extends LPF2Hub { - // We set JSDoc to ignore these events as a Powered Up Remote will never emit them. + // We set JSDoc to ignore these events as a Powered UP Remote will never emit them. /** * @event PUPHub#rotate @@ -40,13 +40,13 @@ export class PUPHub extends LPF2Hub { "B": new Port("B", 1), "AB": new Port("AB", 57) }; - debug("Discovered Powered Up Hub"); + debug("Discovered Powered UP Hub"); } public connect () { return new Promise(async (resolve, reject) => { - debug("Connecting to Powered Up Hub"); + debug("Connecting to Powered UP Hub"); await super.connect(); debug("Connect completed"); return resolve(); diff --git a/pupremote.ts b/pupremote.ts index 894eb22..eda110b 100644 --- a/pupremote.ts +++ b/pupremote.ts @@ -10,7 +10,7 @@ const debug = Debug("pupremote"); /** - * The PUPRemote is emitted if the discovered device is a Powered Up Remote. + * The PUPRemote is emitted if the discovered device is a Powered UP Remote. * @class PUPRemote * @extends LPF2Hub * @extends Hub @@ -18,7 +18,7 @@ const debug = Debug("pupremote"); export class PUPRemote extends LPF2Hub { - // We set JSDoc to ignore these events as a Powered Up Remote will never emit them. + // We set JSDoc to ignore these events as a Powered UP Remote will never emit them. /** * @event PUPRemote#distance @@ -63,13 +63,13 @@ export class PUPRemote extends LPF2Hub { "LEFT": new Port("LEFT", 0), "RIGHT": new Port("RIGHT", 1) }; - debug("Discovered Powered Up Remote"); + debug("Discovered Powered UP Remote"); } public connect () { return new Promise(async (resolve, reject) => { - debug("Connecting to Powered Up Remote"); + debug("Connecting to Powered UP Remote"); await super.connect(); debug("Connect completed"); return resolve();