Go Down

Topic: HELP !! arduino solar panel battery and 2 motor servo (Read 3948 times) previous topic - next topic

PaulS

Printing serial data takes time. When you move the servo a small amount, print some data, move a small amount, etc. the moves don't happen as quickly as when you move the servo a small amount, move the servo a small amount, etc.

When the "move the servo a small amount" parts don't happen as quickly, the servo doesn't move as fast.

wiicaak

oooh i see ..
is there any solution for this problem paulS ??

PaulS

Quote
is there any solution for this problem paulS ??

What is the problem? If you want the servo to move fast, move in larger steps, and/or don't serial print between steps.

wiicaak

oke thank you very much for your usefull comment paulS,
my problem is can i read the ldr value int the same time with servo movement??
is there any way to do both of them without unmark serial println for ldr?

Go Up