??? 10/18/06 10:58 Read: times |
#126635 - Essential things ... Responding to: ???'s previous message |
Since the code to move motor is a little bit complicated and to be honest I haven't check how long it takes inside a ISR.
That would be a good thing to do. Compare it to how long it takes to receive one UART byte. If it takes less time to move the motor than to receive one UART byte (1 start bit + X data bits + half a stop bit), you should be able to put the motor movement in an ISR without dropping any UART bytes. |