Hey, sorry for vanishing, I was busy with some other stuff and this had to wait sadly. but I am back on it. The code seems to work fine, but the solenoid is not turned on. But I am working on it now.
Everything is working independently which is amazing.
I just have some questions:
In the top you defined the solenoids for 13 and 12, and the switches to A1 and A2
then you change those pins. Same goes for the steppers.
Maybe I am not thinking correctly but is it because on top you defined them in a class and then reassign the pins after the #else ?