diff --git a/src/VS1/VS1.h b/src/VS1/VS1.h index c4d1146..872e85c 100644 --- a/src/VS1/VS1.h +++ b/src/VS1/VS1.h @@ -46,6 +46,7 @@ class VS1 { bool read(const Datapoint& datapoint); bool write(const Datapoint& datapoint, const VariantValue& value); + bool write(const Datapoint& datapoint, const uint8_t* data, uint8_t length); bool begin(); void loop(); diff --git a/src/VS2/VS2.h b/src/VS2/VS2.h index eee9875..294ad0b 100644 --- a/src/VS2/VS2.h +++ b/src/VS2/VS2.h @@ -46,6 +46,7 @@ class VS2 { bool read(const Datapoint& datapoint); bool write(const Datapoint& datapoint, const VariantValue& value); + bool write(const Datapoint& datapoint, const uint8_t* data, uint8_t length); bool begin(); void loop();