Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

How to wire LED_PIN ? (2 replies)

$
0
0
pins_MKS_SGEN_L_V2.h lists:

#define LED_PIN                            P1_18  // Used as a status indicator

I want to use this to turn on/off a 5v LED via
M42 S1
M42 S0

But I can't find anywhere if this is the V+ or GND pin. So I don't know where to plug in the other wire.

I thought of may using the Servo pins for this with P1.23 and 5V, but now I'm thinking that might fry something.

#define SERVO0_PIN                         P1_23  // SERVO P1.23


Suggestions?

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>