hi Mustang,
Thank you for your replies, I am starting to figure out parts of the code for Arduino and research with the constants and function to familiarise myself with the code words used, and the actions they can command when applying them within a code.
I have had a go at editing parts of your code to try and suit my particular retract system ie, all actuators in place of servo's.
I need to open doors or half doors first, then lower retract legs and lock, then close half doors,( other half doors attached to retract legs), and then of course reverse the sequence.
Had planned on using output A for doors and output B for retracts, but I suppose it could be vice or versa on the outputs as long as there defined in the code.
In the editing of the code I have tried to omit the servo commands but it can get a little confusing with all the variables used, so I am not at all sure if it will actually work.
I'll post the edited code shortly, if you manage to find time to have a look, can you let me know if at all this may work, or am I long way off yet.
Thanks
Mike