#include //' A{ #include #include void setup() { Serial.begin(1000000); // JCB GD.begin(); } void loop() { GD.get_inputs(); int x, y, z; GD.get_accel(x, y, z); GD.Clear(); GD.LineWidth(16 * 3); int xp = 240 + x; int yp = 136 + y; GD.Begin(LINES); GD.Vertex2f(16 * 240, 16 * 136); GD.Vertex2f(16 * xp, 16 * yp); GD.PointSize(16 * 40); GD.Begin(POINTS); GD.Vertex2f(16 * xp, 16 * yp); GD.swap(); } //' }A