So my library is this. I checked on the tools section of the Arduino IDE and you can select which pinout to use. I got the standard pinout instead of the Sanguino that I think is used in Marlin Firmware. Arduino IDE version is 1.8.7.by Sixaxix9 - Firmware - Marlin
Yes!! The problem is solved! THANK YOU SO MUCH for sorting it out!by Sixaxix9 - Firmware - Marlin
Wow, I think we might have solved it! As I wrote in the first message: QuoteSixaxix9 Casually, I tried to attach one endstop on pin 25, and it correctly triggers endstop Y. Let me upload the modified firmware and I'll be right backby Sixaxix9 - Firmware - Marlin
Hi Dust, thanks for replying! Well, even if they need to be inverted they should toggle the endstop status anyway. But when I send M119 the endstop status never changes whatever the switch is open or closed. Yes, they are the classic mechanical switches with external pull-up and debouncing capacitor (I've tryed other pins that don't have this circuit, and the problem is the same). I am 100% sureby Sixaxix9 - Firmware - Marlin
Update here! Fuses were set correctly, and running "M43 I" on pronterface (it shows the protected pin status) reports correct readings for endstop pins. However, running M119 still gets wrong "open" or "TRIGGERED". I think this might be a software bug, is it worth to open an issue on GitHub?by Sixaxix9 - Firmware - Marlin
Hi Dust, thanks for replying! Sorry, I forgot to mention the microcontroller: it is an Atmega 1284p. I'll set again the fuses and reflash the code and let you knowby Sixaxix9 - Firmware - Marlin
Hi eveyone! I'm Marco, first post here. I've been 3d printing for a couple of years with commercial printers, and today I've just finished the assebly of my last 3d printer. It is completely custom built, including the electronics. All works fine, and I'm pretty happy with it, but I'm having some issues with the endstops. I set up my board file, starting with the declaration of #define X_STOP_Pby Sixaxix9 - Firmware - Marlin