added an ADS1115 16 bit converter to a nano in hopes if increasing the resolution if a stepper motor.loaded the program for the ADS 1115 and am able to get serial data so I know that part is working.How does the ADS 1115 code get intergraded into my stepper motor code.
Please read the post at the start of any forum , entitled "How to use this Forum".
OR http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Your code is not complete some { and } missing.
Select TOOLS, then Auto Format, this will indent your code showing your ( ) and { } alignment.
This will help you with your if statements. if - Arduino Reference
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Can you tell us your electronics, programming, arduino, hardware experience?
What model Arduino are you using?