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

Assigning pins for custom buttons, What Have I missed? (1 reply)

$
0
0
Good afternoon everyone.

I am running a BTT SKR_3_EZ for my controller.
My printer has 1 extruder.

I am trying to set up an Orbiter filament sensor.
I have the runout part of the sensor working well. It is plugged into E0DET pins=[5v,GRD,PC2]

The sensor is designed with an unload button. N/O 4.2v out when triggered.
When I use E1DET for the unloader portion the system goes into a loop; LOAD/UNLOAD/LOAD/UNLOAD - TO INFINITY

I have decided to try to use an unused button on the controller to activate the unloader.
My goal is to set up the unload button as if sensor is reading filament run out. Here is what I have set up so far.

In Marlin I set up;

#define DIRECT_PIN_CONTROL
#define PINS_DEBUGGING
#define CUSTOM_USER_BUTTONS
#define BUTTON1_PIN 68
#define BUTTON1_HIT_STATE HIGH
#define BUTTON1_GCODE "M75\nM600"
#define BUTTON1_DESC "Unloading Filament"

With //#define NEOPIXEL_PIN PE6 commented out in my pins file, MARLIN in the M43 report shows "PIN: PE6 M42 P68 BUTTON1_PIN Input LOW"

For the life of me I can not get the controller to respond to an input on this pin.

With #define NEOPIXEL_PIN commented in, in my pins file, MARLIN in the M43 reports shows "PIN: PE6 M42 P68 BUTTON1_PIN Input LOW"
____________________________________________________________________NEOPIXLE_PIN

What have I missed or mis-understood in what I am attempting here?
Does any one have another approach to accomplish this?

Thank you in advance - Shane

Viewing all articles
Browse latest Browse all 2831

Trending Articles



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