UNPKG

boost-movehub

Version:

Connects with your Lego Boost Movehub vie Bluetooth Low Energy (BLE).

54 lines (46 loc) 1.57 kB
const Boost = require("./src/Boost"); const Hub = require("./src/Hub"); const R2D2 = require("./src/interfaces/R2D2"); const RgbLed = require("./src/peripherals/RgbLed"); const DeviceMessage = require("./src/messages/DeviceMessage"); const GenericError = require("./src/messages/GenericError"); const HubAction = require("./src/messages/HubAction"); const HubAlert = require("./src/messages/HubAlert"); const HubAttached = require("./src/messages/HubAttached"); const PortInputFormat = require("./src/messages/PortInputFormat"); const PortInputFormatSetup = require("./src/messages/PortInputFormatSetup"); const PortOutput = require("./src/messages/PortOutput"); const PortOutputCommandFeedback = require("./src/messages/PortOutputCommandFeedback"); const PortValuleSingle = require("./src/messages/PortValuleSingle"); const UnknownMessage = require("./src/messages/UnknownMessage"); const colors = { COLOR_OFF: RgbLed.COLOR_OFF, COLOR_PINK: RgbLed.COLOR_PINK, COLOR_PURPLE: RgbLed.COLOR_PURPLE, COLOR_BLUE: RgbLed.COLOR_BLUE, COLOR_LIGHTBLUE: RgbLed.COLOR_LIGHTBLUE, COLOR_CYAN: RgbLed.COLOR_CYAN, COLOR_GREEN: RgbLed.COLOR_GREEN, COLOR_YELLOW: RgbLed.COLOR_YELLOW, COLOR_ORANGE: RgbLed.COLOR_ORANGE, COLOR_RED: RgbLed.COLOR_RED, COLOR_WHITE: RgbLed.COLOR_WHITE }; module.exports = { Boost, Hub, R2D2, // All the messages DeviceMessage, GenericError, HubAction, HubAlert, HubAttached, PortInputFormat, PortInputFormatSetup, PortOutput, PortOutputCommandFeedback, PortValuleSingle, UnknownMessage, colors };