diff options
-rw-r--r-- | Sprinter/Sprinter.pde | 6 |
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) |