I am trying to control two DC motors with a L9110 brige and a ultrasonic sensor.
When I run my code using tha USB as power suply all goes well. When I use an external power suply (9V battery). I does not work. It seems that it does not "close the loop" repeating the same condition all the time ...
Can some one help me?