| Algorithm 9. Fragment of the Python code: formatted values for the Arduino board. |
| # send to Arduino board − X and Y control signals |
| arduino.write((str(angleX) + “,” + str(angleY) + “\n”).encode()) |
| # print(angleX, angleY) |
| Algorithm 9. Fragment of the Python code: formatted values for the Arduino board. |
| # send to Arduino board − X and Y control signals |
| arduino.write((str(angleX) + “,” + str(angleY) + “\n”).encode()) |
| # print(angleX, angleY) |