HELLO ,
I want to control two ports (or more) in pic microcontroller in the same time without any shift delay between them for all time (infinite loop).
for example I want (portb) to give this sequence:
{portb=1;delay(100s);portb=2;delay(100s);portb=4;delay(100s)}
and at the same time portc :
{portc=1;delay(700s);portb=2;delay(700s);portb=4;delay(700s)}
I want this to control more than one stepper motor with different rpm in the same time
I use pic16f877a if this function does not exist in this pic please tell me for another one.
Thanks in advance
I want to control two ports (or more) in pic microcontroller in the same time without any shift delay between them for all time (infinite loop).
for example I want (portb) to give this sequence:
{portb=1;delay(100s);portb=2;delay(100s);portb=4;delay(100s)}
and at the same time portc :
{portc=1;delay(700s);portb=2;delay(700s);portb=4;delay(700s)}
I want this to control more than one stepper motor with different rpm in the same time
I use pic16f877a if this function does not exist in this pic please tell me for another one.
Thanks in advance