Gradient Ramp
Datastream
Widget Controls
How to process widget input on the device
Reading the widget value(s)
BLYNK_WRITE(V1) {
// Called when the datastream V1 value changes
// Assign incoming value from pin V1 to a variable
// according to the datastream data type
int pinValue = param.asInt();
// double pinValue = param.asDouble();
Serial.print(“V1: “);
Serial.println(pinValue);
}Change the Widget Properties
Properties you can change
Change Widget Label
Set Color
Disable/Enable
Show/Hide
Change widget properties via HTTPs API
Updates the Datastream Property and all assigned Widgets
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Sync to the latest known state
Last updated
Was this helpful?

