Hi,
I testing a function h-bridge on simple program loop -motors on-delay-motors off-delay
H-bridge - http://lookpic.com/c1/i2/2327/qWtVf9d2.png
Sometimes it happens that the motor rotates 10x times longer than it should or program just freezes (is still on or off to restart - on MCU pin is really log.1 or 0 all the time ).
I checked irf7105 on oscilloscope but nothing.
If i use PWM with half voltage (analogWrite(100)) everything works.Use higher value and strange behavior is back.
But once I written a program in C and upload over iscp everything works.
Any ideas what could it be? I haven't knowledge to finding error in source code andruido
Sorry for my english--