hey guys, i have one push button attached on the arduino pin d5 and a switch on my Blynk dashboard. what i want is that the push of the button just reverses the state of the switch on pin V1. also i am unable to link Blynk with ifttt using maker channel and making a web request. web request are certainly possible with blynk as the android home screen widgets use https. can anyone help me with this.
Hello.
Do you mean physical button or button in app?
For IFFTT you need to use Blynk ip and not host due to geo dns issue. To get BLynk IP please ping blynk-cloud.com
physical tact button
Momentary switch? One press of the physical button normally goes from low to high and back to low, right?
There are buttons that do the opposite though (high, low high).
Pretty sure Sketch Builder has the basics of what you need.
Check out attachInterrupt on the Arduino site and be sure you do nothing after the interrupt is detected, disable the interrupt routine, set a flag, enable interrupt and main loop or BlynkTimer check for the status of the flag.
Then it’s simply a case of toggling the V1 button with a virtualWrite.
i am not good at coding bro. will check the code builder