Plotting real-time graph using HC-06, MPU6050 and Arduino Nano
points are at the left edge of the canvas. Remove that resetting it to 0, and instead, where you increment the x value, check if it is past the Width of the Canvas, then reset it to 1. ABG