UNPKG

cbuslibrary

Version:

Library to decode & encode CBUS messages

20 lines (12 loc) 708 B
# cbusLibrary Library for decoding and encoding CBUS Layout Control Bus (LCB) messages. There is a very comprehensive set of tests for this The decoding and encoding follows the CBUS specification available here <a href="https://www.merg.org.uk/merg_wiki/doku.php?id=public:cbuspublic:developerguide">CBUS dev guide</a> For full documentation on API, tests etc.. follow this link <a href="https://david284.github.io/cbusLibrary/">documentation</a> ## Installation npm install cbuslibrary (note all lower case - npm no longer allows uppercase) ## usage const cbusLib = require('cbusLibrary') An instance of the class is created automatically, so can be used immediately