It looks like you are attempting to control an add-on pan/tilt mechanism for a camera. Why don't you start with a high level description of what you are trying to achieve and what the overall functions of the 3 nanos you are using will be, before going in to too much detail ?