David Smart
/
PUB_RA875_Dial
Demo touching the perimeter of a circle
Diff: main.cpp
- Revision:
- 3:d259be26795b
- Parent:
- 2:3077639f94fa
diff -r 3077639f94fa -r d259be26795b main.cpp --- 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) {