@nttu53 You’ve edited your post, but despite me giving you triple backticks to copy & paste you tried using other characters, then used blockquotes. Neither of these cause the sketch to be displayed correctly.
Please format your code correctly, otherwise it will be deleted.
I looked for how to use time input on new platforms but didn’t see any documentation. Is it used the same way as on the old platform?
Code:
BLYNK_WRITE(VPIN_Time_Input)
{
TimeInputParam t(param);
// Process start time
if (t.hasStartTime())
{
int Start_hour = t.getStartHour();
int Start_minute = t.getStartMinute();
int Start_sencond = t.getStartSecond();
}
// Process stop time
if (t.hasStopTime())
{
int Stop_hour = t.getStopHour() ;
int Stop_minute = t.getStopMinute() ;
int Stop_sencond = t.getStopSecond();
}
}