From 26c437ed7a5de1814e68ee37cf81eab2cf186f65 Mon Sep 17 00:00:00 2001 From: DaAwesomeP Date: Tue, 28 Nov 2017 16:31:21 -0600 Subject: [PATCH] v0.0.3 --- library.properties | 2 +- src/DMXUSB.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.properties b/library.properties index 9a0af2f..00b5d41 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=DMXUSB -version=0.0.2 +version=0.0.3 author=DaAwesomeP maintainer=DaAwesomeP sentence=DMXUSB emulates an ENTTEC-compatible DMXKing USB to DMX serial device with one or two universes diff --git a/src/DMXUSB.cpp b/src/DMXUSB.cpp index 63f1484..2054259 100644 --- a/src/DMXUSB.cpp +++ b/src/DMXUSB.cpp @@ -153,7 +153,7 @@ void DMXUSB::listen() { _serial->write(0x03); // label 3 _serial->write(len & 0xff); // data length LSB: 4 _serial->write((len + 1) >> 8); // data length MSB: 0 - _serial->write((byte)0x01); // firmware version LSB: 1 (v0.0.2) + _serial->write((byte)0x02); // firmware version LSB: 2 (v0.0.3) _serial->write((byte)0x00); // firmware version MSB: 0 _serial->write(0x09); // DMX output break time in 10.67 microsecond units: 9 (TODO: CALCUALTE WITH BAUDRATE) _serial->write(0x01); // DMX output Mark After Break time in 10.67 microsecond units: 1 (TODO: CALCUALTE WITH BAUDRATE)