wobblyhead hg > arduino > Joystick
changeset 5:328b2e0c7555
//debug
| author | ark |
|---|---|
| date | 2017-02-05 16:19 +0100 |
| parents | a3fceeff4b21 |
| children | 88126e5a9d86 |
| files | Joystick.cpp |
| diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Joystick.cpp Sat Feb 04 22:59:02 2017 +0100 +++ b/Joystick.cpp Sun Feb 05 16:19:44 2017 +0100 @@ -6,7 +6,8 @@ #include "Joystick.h" -#define DEBUG +//#define DEBUG + /** see Joystick.h for description. @@ -64,11 +65,11 @@ centerX = x.value; centerY = y.value; #ifdef DEBUG - Serial.print(ms); - Serial.print(": Joystick calibrated, center="); - Serial.print(centerX); - Serial.print(","); - Serial.println(centerY); + Serial.print(ms); + Serial.print(": Joystick calibrated, center="); + Serial.print(centerX); + Serial.print(","); + Serial.println(centerY); #endif } else return;
