Code and pictorial to control Servo direction and speed. 

Just follow the example and when I get the code finished you can download that and change variables as needed. 

Login to post a comment...

rickam1 2 months, 3 weeks ago

I've done this for a friend who had an HO model of a house on fire, one Nano was used for the flashing flickering LED's while another was used to make the fireman climb the ladder one step or rung at a time then pause and then slide back down - there is also an initialization to insure the fireman is down before starting just in case of power shut down in the middle of the action.