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 cc1434f..8e94db8 100644 --- a/Sprinter/Sprinter.pde +++ b/Sprinter/Sprinter.pde @@ -302,6 +302,12 @@ void setup() SET_OUTPUT(FAN_PIN); #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) SET_OUTPUT(X_STEP_PIN); |