21 const auto setpoint =
static_cast<uint16_t
>(lroundf(
value));
23 this, FUNCTION_NODE_SETTING,
24 {0x01, this->
address_, this->
item_,
static_cast<uint8_t
>(setpoint >> 8),
static_cast<uint8_t
>(setpoint)});
void control(float value) override
void receive_response(const DucoMessage &message) override
void publish_state(float state)
const LogString * message
constexpr uint16_t encode_uint16(uint8_t msb, uint8_t lsb)
Encode a 16-bit value given the most and least significant byte.
A received message; data points into the receive buffer and is valid only during the callback.