im using pic16f877a as the mcu and l293d as driver and the motors are servo. It has three switches the middle should make the two motors move while the left switch should make the left motor move and the right switch should make the right motor move. here is the image https://obrazki.elektroda.pl/30_1347521858.png and the code is also provided
im using pic16f877a as the mcu and l293d as driver and the motors are servo. It has three switches the middle should make the two motors move while the left switch should make the left motor move and the right switch should make the right motor move. here is the image https://obrazki.elektroda.pl/30_1347521858.png and the code is also provided
In your Program u need to provide some delay, for the micro controller execution time will depend on the crystal frequency.
and in this simulation u have used the pwm (CCP1,CCp2), but there is no initialization for the duty cycles.. so if u are using this pwm means u need to initial ccp mod orelse remove the connection, i think this will work fine...