Mark Peter Vargha / Joystick
Revision:
2:3fdaae41db20
Parent:
1:a768d268191b
Child:
3:cd36fdbb23f8
--- a/Joystick.h	Thu Feb 09 19:32:17 2017 +0000
+++ b/Joystick.h	Thu Feb 09 19:36:26 2017 +0000
@@ -20,7 +20,11 @@
  * {
  *     joystick.setFlipX(true);
  *     joystick.setRange(100);
- *     while (!joystick.isCalibrated()) joystick.process();
+ *     while (!joystick.isCalibrated())
+ *     {
+ *         joystick.process();
+ *         wait(0.05);
+ *     }
  *     joysticTicker.attach(&isrJoystick, 0.1);
  *     while (true)
  *     {