features added (#14)

* Update group_object.h

* Update group_object.cpp

* Update knx_facade.cpp
This commit is contained in:
Maggyver 2019-05-18 19:52:23 +02:00 committed by thelsing
parent ae9baa7702
commit b34c3d4ddc
3 changed files with 8 additions and 0 deletions

View File

@ -165,6 +165,12 @@ bool GroupObject::objectReadBool()
return _data[0] > 0; return _data[0] > 0;
} }
uint8_t GroupObject::objectReadByte()
{
return _data[0];
}
void GroupObject::requestObjectRead() void GroupObject::requestObjectRead()
{ {
_commFlag = ReadRequest; _commFlag = ReadRequest;

View File

@ -56,6 +56,7 @@ public:
*/ */
int32_t objectReadFloatDpt9(); int32_t objectReadFloatDpt9();
bool objectReadBool(); bool objectReadBool();
uint8_t objectReadByte();
/** /**
* Request the read of a communication object. Calling this function triggers the * Request the read of a communication object. Calling this function triggers the
* sending of a read-group-value telegram, to read the value of the communication * sending of a read-group-value telegram, to read the value of the communication

View File

@ -46,6 +46,7 @@ bool KnxFacade::progMode()
void KnxFacade::progMode(bool value) void KnxFacade::progMode(bool value)
{ {
Serial.println("progmode");
_bau.deviceObject().progMode(value); _bau.deviceObject().progMode(value);
} }