I got a problem with my Arduino AG Board Mega 2560 (https://www.voelkner.de/products/304449/Arduino-AG-Board-Mega-2560.html?offer=49082ba34f74056f0b7fa8018f4ede3a). I’m building a machine with four stepper motors and a Geekcreit® IIC I2C 2004 (https://de.banggood.com/Geekcreit-IIC-I2C-2004-204-20-x-4-Character-LCD-Display-Screen-Module-Blue-Geekcreit-for-Arduino-products-that-work-with-official-Arduino-boards-p-908616.html?akmClientCountry=DE&rmmds=search&p=X0110142748584201912&custlixnkid=723808&cur_warehouse=CN), that needs four limit switches accordingly.
I only have four pins that work with interrupt and two of them are SDA and SCL. These four switches are connected to D19 to D21, where D20 and D21 are apparently parallel to the SCL and SDA pins next to the reset button. As soon as I plug in the limit switches the LCD stops working.
Does anyone have an idea how I cloud isolate the pins next to the reset button in the software or are they physically hooked?
Problem_mit_den_Interruptpins_2.ino (1.43 KB)