This is my first post here and surely not the last Smiley
I have searched around the Arduino command and through the forum and I cant find anything that fits with what I want to do.
I am running a servo FUTABA S3003 directly from my Arduino duemilanove 328.
I am using a code that I found here (Servo control via direct access to AVR PWM registers), and it works great :
I did modify it to my needs : I push a button it turns 90 CCW and a led lights up. When I release the button it goes back to 0 and the LED shuts off.
I would like to have these two state successively on each push of the button( button up wouldn't do nothing). What Arduino command should I use ?