Hello, i have been testing h bridge (L293D)for my application, simulating limit switch in pcb, i made ladder with ldmicro and motor works ok, it moves fast, it also works ok with sketch for Arduino option, ldmicro is not the problem, it is arduino IDE code the problem i managed to make my own arduino code from Arduino IDE, with debounce buttons like ldmicro, that makes the same thing like ldmicro does, but when using arduino code from arduino IDE motor moves slow,i thought i burned h bridge then bought a new one and again same thing happened, then i tested it with ldmicro hex for 328 and motor moves fast, what is that difference between arduino sketch and Arduino IDE code?
see vide please for demostration:
https://www.youtube.com/watch?v=Z3LNw8eBW8A&feature=youtu.be
i also attach Arduino IDE code and ldmicro ladder