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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!