Angles Measurement to control (move) a robotic arm
Number the squares 1-8 in the x direction and 1-8 in the y direction, then the angle will be: \$\small arctan\large \left(\frac{(next\: y)-(current \:y)}{(next\: x)-(current \:x)}\right)\$.