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

Why is a pin set to HIGH on startup? (2 replies)

$
0
0
I am still busy with the pins. I am using a pin from the LCD to switch a motor via Mosfet.

Pin is PA8 = P8
When I switch the machine ON the motor runs
I do: M42 P8 S0 - nothing happens, motor runs
I do: M42 P8 S255 - nothing happens, motor runs
I do: M42 P8 S0 - motor stop, and from now on works as expected.

My workaround is using a different pin (PC12 = P44) that works as expected.

I wonder why? I may changed a setting accidentally.

Viewing all articles
Browse latest Browse all 2831

Trending Articles



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