I have created a smart car driven by two DC motors controlled from Blynk interface 4 buttons. I want to set PWM for buttons (the PWM value is the same for each button) from a slider. The idea is to reduce speed of motors for better control af my smart car.
I use a NODEMCU ESP-12E and L9110S (DC motor driver).
Please help me with the source code for this.
The you need to learn a bit of coding as simply using the direct pin manipulation of the App is unlikely to allow complex controls like you wish.
Besides, using buttons, directly controlling digital pins for the H-Bridge, as I suspect you are, can be potentially hazardous as accidently pressing both forward and backward for one motor could cause a short in the controller, thus burning it out.
Search Google for proper h-Bridge code and search this forum as well (Rover, Car, H-Bridge, etc.) for other topics with code to examine.
I don’t care about burning motor driver IC, it’s my problem if it’s happening.
Please help me with the code if you know, otherwise let somebody else to help me with the code.
That is fine but don’t ask for assistance on this site if you are not prepared for receiving such.
I do know how, as you would see if you did a little searching But we are NOT here to write your code for you… but assist in your learning about Blynk.
Learning to program is for you to do via self taught, learning sites, programming courses, etc.
Start putting some code together, and we can give advice as each individual forum member wishes. Nothing stopping someone from writing all your code for you, but that is up to them.