Robo
Junior Member level 3
Hi,
Project: uses 89C420 to control two motors.
Goal: send high/low signal to 89C420 -> control motors' direction of movement
Circuit schematic: (picture attached)
Physical circuit: (picture attached)
Description: As shown in the circuit schematic, I used Max232 as the driver. I also connected my two motors to P0.0 to P0.3 ports, and used uVision2 as my software.
Problem: I've limited knowledge in programming. Could anyone give me a little help on coding? I'd like to send high/low signal to ports P0.0 to P0.3 of 89C420. How could I do that?
Project: uses 89C420 to control two motors.
Goal: send high/low signal to 89C420 -> control motors' direction of movement
Circuit schematic: (picture attached)
Physical circuit: (picture attached)
Description: As shown in the circuit schematic, I used Max232 as the driver. I also connected my two motors to P0.0 to P0.3 ports, and used uVision2 as my software.
Problem: I've limited knowledge in programming. Could anyone give me a little help on coding? I'd like to send high/low signal to ports P0.0 to P0.3 of 89C420. How could I do that?