From 241e04330ded2a01449a106ab61caa970f56bad3 Mon Sep 17 00:00:00 2001 From: Nicolas Robadey Date: Tue, 29 Sep 2020 12:46:09 +0200 Subject: [PATCH] Datapoints ending in .0 are invalid (#91) Change the datapoints types to 1.1, 1.2 or 1.3 to match the requirements (no dpt *.0) in dpt.cpp --- examples/knx-sonoffS20/knx-sonoffS20.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/knx-sonoffS20/knx-sonoffS20.ino b/examples/knx-sonoffS20/knx-sonoffS20.ino index e25ff3e..88a77eb 100644 --- a/examples/knx-sonoffS20/knx-sonoffS20.ino +++ b/examples/knx-sonoffS20/knx-sonoffS20.ino @@ -39,9 +39,9 @@ void setup() { // register callback for reset GO goSwitch.callback(switchCallback); - goSwitch.dataPointType(Dpt(1, 0)); - goBlock.dataPointType(Dpt(1, 0)); - goStatus.dataPointType(Dpt(1, 0)); + goSwitch.dataPointType(Dpt(1, 1)); + goBlock.dataPointType(Dpt(1, 3)); + goStatus.dataPointType(Dpt(1, 2)); } // start the framework. Will get wifi first.