Closed ViorelOnica closed 5 years ago
Use ProcessCommunicator::read(Datapoint dp)
.
The datapoint you create with new StateDP(myGroupAddress, "my datapoint", 0, DPTXlatorRGB.DPT_RGB.getID())
.
There is currently no method which directly returns you the used dpt translator.
It works, thank you !
Hello !
Is there any way I can read a 3 byte 232.600 RGB datapoint ? I'm using the code below to write, but I can't figure out how to read..
final DPTXlatorRGB dptxlator=new DPTXlatorRGB(DPT_RGB); dptxlator.setValue(175,206,255); ProcessCommunicator pc=new ProcessCommunicatorImpl(KNX_LINK);; pc.write(new GroupAddress(command_group_address),dptxlator);