Demo touching the perimeter of a circle

Dependencies:   RA8875

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sun Apr 04 20:36:33 2021 +0000
Parent:
2:3077639f94fa
Commit message:
Disable a debug print

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Apr 04 20:15:47 2021 +0000
+++ b/main.cpp	Sun Apr 04 20:36:33 2021 +0000
@@ -234,8 +234,8 @@
             // compute the angle to the touch from the center of the circle
             if (abs(GetRadius(Touch, center) - radius) <= touch_tolerance) {
                 int angle = GetAngle(Touch, center);
-                printf("Touch at (%4d,%4d) is %3d degrees from (%4d,%4d)\r\n", 
-                    Touch.x, Touch.y, angle, center.x, center.y);
+                //printf("Touch at (%4d,%4d) is %3d degrees from (%4d,%4d)\r\n", 
+                //    Touch.x, Touch.y, angle, center.x, center.y);
                 
                 point_t lastP;
                 switch (renderOption) {