Browse Source

Merge pull request #371 from Banjer/Melzi_LED_PIN

Chenged LED_PIN for Melzi boards, added comment about broken versions of...
daid 12 years ago
parent
commit
18fcc367d2
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/pins.h

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -88,7 +88,7 @@
88 88
 // M29  - Stop SD write
89 89
 // M30  - Delete file from SD (M30 filename.g)
90 90
 // M31  - Output time since last M109 or SD card start to serial
91
-// M42  - Change pin status via gcode
91
+// M42  - Change pin status via gcode Use M42 Px Sy to set pin x to value y, when omitting Px the onboard led will be used.
92 92
 // M80  - Turn on Power Supply
93 93
 // M81  - Turn off Power Supply
94 94
 // M82  - Set E codes absolute (default)

+ 1
- 1
Marlin/pins.h View File

@@ -683,7 +683,7 @@
683 683
 #endif
684 684
 
685 685
 #ifdef MELZI
686
-#define LED_PIN            28
686
+#define LED_PIN            27 /* On some broken versions of the Sanguino libraries the pin definitions are wrong, which then needs LED_PIN as pin 28. But you better upgrade your Sanguino libraries! See #368. */
687 687
 #define FAN_PIN            4
688 688
 #endif
689 689
 

Loading…
Cancel
Save