Hello......
i tried programming my atmega 8.. i gave all my pins as output and all of them as high...but the output i am getting is only 1 volt.. why is this? is this enough to feed into a motor driver l293d?
one other thing chck the power supply that is feeding the circuit, it may be overloaded so when the circuit oprates it voltage is droping so the uc is operating at low voltage.
try to run the circuit and check the supply voltage while it's running if it is under the recommanded voltage of the uc the use a more powerful spply
There are some components that might cause low voltage due to load. Check your whole circuit carefully. Remove all components if it's on breadboard and check voltage after connecting each components of your circuit.