PDA

View Full Version : PULSOUT and two OUT for motor dc



piombazzo
- 22nd December 2005, 11:19
Hi,
i want use the command pulsout for drive two dc motor, it possible?
HELP ME

example code I use:
pulsout portd.1 and portd.2,15000
But it not work
Thank you

Acetronics2
- 22nd December 2005, 15:05
Hi, Piombazzo

What about

....

Portd = Portd | %00000110

PAUSEUS 15 000 ( or a variable ...)

Portd = Portd & %11111001

....

Just an idea for perfect sync.

Alain

Acetronics2
- 23rd December 2005, 11:00
PAUSEUS 15 000 ( or a variable ...)

Alain

Or PAUSE 15 ....