Question
Develop an Arduino program called MoveXY that will draw a line using the XY-table from its current position to a position desired position using a
Develop an Arduino program called MoveXY that will draw a line using the XY-table from its current position to a position desired position using a displacement specified by the user. The program must:
Ask the user for the desired X displacement (in inches), and desired Y displacement (in inches). The displacements entered can be both positive and negative. For example, if the user enters an X displacement of 3.25 and Y displacement of -4. The carriage should move 3.25 in the +X direction and 4 in the Y direction along a straight line.
In addition, the program must stop moving the carriage if a limit switch is reached.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started