summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2011-09-17 16:22:05 +0200
committerAlessandro Ranellucci <aar@cpan.org>2011-09-17 16:22:05 +0200
commit8807e95fe239256f077fd50412b5ccd3bd7e7c97 (patch)
tree58781e480fbf8f1c941370617c4d6c6dc094c4c2 /Sprinter
parent205d115002a18c7c9ccd8dc2aed388196772fadb (diff)
parent51a0f47d4791f77205d9a8d199b0242bf9b5beb0 (diff)
Merge remote branch 'upstream/experimental' into alarm-pin
Conflicts: Sprinter/Sprinter.pde
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Sprinter.pde6
1 files changed, 6 insertions, 0 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index f04e374..e3f60b2 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -307,6 +307,12 @@ void setup()
SET_OUTPUT(ALARM_PIN);
WRITE(ALARM_PIN,LOW);
#endif
+
+ //Initialize LED Pin
+ #if (LED_PIN > -1)
+ SET_OUTPUT(LED_PIN);
+ WRITE(LED_PIN,LOW);
+ #endif
//Initialize Step Pins
#if (X_STEP_PIN > -1)