i use slider wadget v2 (0—>200) and label wadget v0 (0–>1000)
i want to dispay the slider value on label wadget
my sketch below not working
// You could use a spare Hardware Serial on boards that have it (like Mega)
#include <SoftwareSerial.h>
SoftwareSerial DebugSerial(2, 3); // RX, TX
#define BLYNK_PRINT DebugSerial
#include <BlynkSimpleStream.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "70a33f4af75746b7b90cdfa5e6f12598";
void setup()
{
// Debug console
DebugSerial.begin(9600);
// Blynk will work through Serial
// Do not read or write this serial manually in your sketch
Serial.begin(9600);
Blynk.begin(Serial, auth);
}
void loop()
{
Blynk.run();
}
BLYNK_WRITE(V2) //slider wadget output
{
int x = param.asInt();
}
BLYNK_READ(V0) //label wadget input
{
Blynk.virtualWrite(V0,x);
}