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
This commit is contained in:
Nicolas Robadey 2020-09-29 12:46:09 +02:00 committed by GitHub
parent aabc61dc3b
commit 241e04330d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.