Hi everybody.
I am new to the EMG/EKG board and how to write codes for it, currently I am building a exoskeleton arm that uses one servo to controll the movement of my arm. I am using the olimex EMG7EKG sensor to recieve signals from my arm and then use those to controll the servo. The problem is that I dont know how to write the code due to it being way to complicated for beginners so I'm asking anybody who has any knowlage about this for help.
The sensor is connected to a arduino nano and all I need is to recive a signal from a analog pin and then have the arduino send signals to a digital pin to controll the servo.
So far I have looked at all example codes and the code in this link:
codeshttp://olimex.wordpress.com/2013/06/19/amazing-project-with-shield-ekg-emg/
I can not understand how the code works for a single servo where I just need to map a value, like with a potentiometer, if this is possible with the shield.
Thank you very much for any future help/ Isac :)
If anybody could help me out that would be great :)