Please describe the problem and what is happening at your end in more detail. The code compiles ok here. You need to lose the delay(500)'s in the somefunction() as the 2 second timer you have should take care of this. Why do you have the relay state sandwiched between the Blynk.connect() while loop? Does it need to be there?
you have confused @mrebaj with me, @mpo881 . We both have the same color logo and initial. I have not posted any code related to this issue. Thank you though for your help.
Hi,
I’ve been looking for while to find this code. Finally I could control my relays with physical buttons and virtual pins.
To take fully advantage of the code, is it possible to post a FRITZING sketch or any other sketch of this project.
This would really help me out to have a better control over the equipment of my home aquaponic system.
Hello Mrebaj, I am trying to use this code to connect my NodeMCU to control my light switch, i want to be able to control the light from the blynk app as well as from the physical button, right now i am only able to turn the button on from the blynk app but not from the physical button. do you have a diagram of your connections by any chance?
This is not a forum where people do your work for you, this is the second thread I see you cluttering with this request.
No offense to you but no one here will do all work for you, If you want to work with mcus you at least need to start learning programming instead of just tossing out that you know 0 about it. It’s like trying trying to get a toddler to ride a bike if we were to try help you in this state.
Learn to:
Sit (arduino)
Crawl (basics of programming)
Walk (c++ for arduino)
Then people can help you ride your
4 channel bike.
@Dmitriy I think this is a good example of an older (and solved) thread that needs to be closed/locked or whatever… One user jumped in 7 months after last post, then followed by two more just days ago. All asking for handouts.