eyelid servo pin changing

Hi core team,

we want to use eyelid servo pin no. 27 or 29 of left side mega .

when we done changes in eyelid config file . it says there is error in config file .

pls. help me to clear off this issue.

below are the changes 

;----------------------------- EYELID CONFIGURATION ----------------------------------------
[MAIN]
isEyeLidsActivated=True
EyeLidsConnectedToArduino=Left
;chose left or right existing and connected arduino
 
EyeLidsLeftActivated=True
EyeLidsRightActivated=False
;EyeLidsLeftActivated : 1 servo control 2 eyelids
;EyeLidsRightActivated+EyeLidsLeftActivated : 1 servo control 1 eyelid
 
 
[SERVO_MINIMUM_MAP_OUTPUT]
;your servo minimal limits
eyelidleft=60
eyelidright=60
 
[SERVO_MAXIMUM_MAP_OUTPUT]
;your servo maximal limits
eyelidleft=120
eyelidright=120
 
[SERVO_REST_POSITION]
eyelidleft=0
eyelidright=0
 
 
;----------------------------------- ADVANCED CONFIGURATION --------------------------------------------------
 
[SERVO_INVERTED]
eyelidleft=False
eyelidright=False
 
[MAX_VELOCITY]
eyelidleft=-1
eyelidright=-1
 
[MINIMUM_MAP_INPUT]
eyelidleft=0
eyelidright=0
 
[MAXIMUM_MAP_INPUT]
eyelidleft=180
eyelidright=180
 
[SERVO_PIN]
eyelidleft=27
eyelidright=29
 
[SERVO_AUTO_DISABLE]
eyelidleft=True
eyelidright=True
 
;----------------------------------- END --------------------------------------------------
Ray.Edgley's picture

Case Sensitive?

Is it case sensitive?

In the example code, the left and right are all lower case, in your code you have an Upper case L in the Left.

give it a try with a lower case l instead... left

 

Ray

sunilskar's picture

hi Ray, Thanks a lot problem

hi Ray,

Thanks a lot problem has been solved after changing to lower case.

Larry's picture

I have the same problem, I

I have the same problem, I have a Arduino Uno  called "left" in the head and want to have it run 2 eyelids, but I make the changes in the config. file, it doesn't start the eye lids.

Could some one look at this file for me and see what I am doing wrong?

;----------------------------- EYELID CONFIGURATION ----------------------------------------
[MAIN]
isEyeLidsActivated=True
EyeLidsConnectedToArduino=left
;chose left or right existing and connected arduino
 
EyeLidsLeftActivated=True
EyeLidsRightActivated=True
;EyeLidsLeftActivated : 1 servo control 2 eyelids
;EyeLidsRightActivated+EyeLidsLeftActivated : 1 servo control 1 eyelid
 
 
[SERVO_MINIMUM_MAP_OUTPUT]
;your servo minimal limits
eyelidleft=60
eyelidright=60
 
[SERVO_MAXIMUM_MAP_OUTPUT]
;your servo maximal limits
eyelidleft=120
eyelidright=120
 
[SERVO_REST_POSITION]
eyelidleft=0
eyelidright=0
 
 
;----------------------------------- ADVANCED CONFIGURATION --------------------------------------------------
 
[SERVO_INVERTED]
eyelidleft=True
eyelidright=False
 
[MAX_VELOCITY]
eyelidleft=-1
eyelidright=-1
 
[MINIMUM_MAP_INPUT]
eyelidleft=0
eyelidright=0
 
[MAXIMUM_MAP_INPUT]
eyelidleft=180
eyelidright=180
 
[SERVO_PIN]
eyelidleft=10
eyelidright=11
 
[SERVO_AUTO_DISABLE]
eyelidleft=True
eyelidright=True
 
;----------------------------------- END --------------------------------------------------
 
Thanks, 
Larry