Go Down

Topic: how to store different values of a pot to be called up latter? (Read 6073 times) previous topic - next topic


Maybe you can help me out with my project? I'll send you a PM.


ElChiguete I would be happy to assist. Since I'm new at this I can only hope to be able to help. Let's do this here so all can benefit.  :)


Ok. Based on your project instead of ¨storing¨ a moving servo it would be like storing a couple of fix positions of that servo instead of the actual movement and recall them thru your switch (I want to store them in individual buttons).


So then, if I understand correctly you need to create variables containing the values (i.e. servo positions) and than create an "if.. else if" structure corresponding to each switch that is being pressed. Each switch sends out a different value to the servo. Seems fairly easy. BTW you can check my progress on my code over here:http://arduino.cc/forum/index.php/topic,96056.0.html. This could maybe help you

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131