Browse Source

Add simple debug routine

master
Marc Poulhiès 4 years ago
parent
commit
8999c3ff2f
  1. 6
      arduino/startracker.ino

6
arduino/startracker.ino

@ -32,6 +32,12 @@ DRV8825 stepper(200, dir_pin, step_pin,
#define DEBUG (1)
#endif
#if DEBUG
#define dprint(x) Serial.println(x)
#else
#define dprint(x)
#endif
//other info needed:
//ratio between the large gear and the small one=0.2549

Loading…
Cancel
Save