Hello !!
I firstly dont know whether to ask this doubt\problem here or create a new topic, but as this related to Time input widget i feel i can post this here… if not please tell me i will create a new topic …
The problem is i am trying to read the t.isWeekdaySelected out side the BLYNK_WRITE function. TimeInputParam t(param); as this can only be called inside BLYNK_WRITE… As i am not a coder i think i have failed to explain properly, But i want to see the days selected in a void function…
But i found a post where @Gunner told to do so 
bool Mon;
bool Tue;
bool Wed;
bool Thu;
bool Fri;
bool Sat;
bool Sun;
And later check the if the days has been selected
BLYNK_WRITE(V1) { // Called whenever setting Time Input Widget
TimeInputParam t(param);
Mon = t.isWeekdaySelected(weekday(1)); // Check if Monday is selected or not (1 = Yes, 0 = No)
Tues = t.isWeekdaySelected(weekday(2));
Wed = t.isWeekdaySelected(weekday(3));
Thu = t.isWeekdaySelected(weekday(4));
Fri = t.isWeekdaySelected(weekday(5));
Sat = t.isWeekdaySelected(weekday(6));
Sun = t.isWeekdaySelected(weekday(7));
}
Later checking if the days are selected
void checkdays1() {
if (Mon == 1) {
TimeCheck1();
} else if (Tues == 1) {
TimeCheck1();
} if (Wed == 1) {
TimeCheck1();
} else if (Thu == 1) {
TimeCheck1();
} if (Fri == 1) {
TimeCheck1();
} else if (Sat == 1) {
TimeCheck1();
} if (Sun == 1) {
TimeCheck1();
}
}
Every things seems to work properly !! But when i select only a single day ex: Sat… I does not trigger the event… But if a select Fri , Sat, Sun then it will trigger…
Can someone tell me where am i going wrong ?? @proietti @PeteKnight