mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
features added (#14)
* Update group_object.h * Update group_object.cpp * Update knx_facade.cpp
This commit is contained in:
parent
ae9baa7702
commit
b34c3d4ddc
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user