Go Down

Topic: Use of global variables and its effect on encoder reading  (Read 56 times) previous topic - next topic

Onkar_21

Hello,

In my code on Arduino uno, for running wheeled robot, when my global variable usage was 29% motors ran well.
But as soon as my global variable usage got to 52%, motors did not run.

Can someone please help me to know whether global variables has effect on encoder reading.

Thanks in advance.

spycatcher2k

Easy - you have some error in your code! But who knows (Other than the Person sitting at YOUR computer).
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

Go Up