I am refering arduino mega and RAMPS1.4 shield but i dont need that much port so want to reduce it for 2motors and one 12Vsolenoid(electromagnet)
*as per my study i can use Fan port of arduino Mega (D9) to control solenoid but i am confused about how can i make it happen with arduino Uno board.
1)how can i reduce marlin firmware?
2)In Marlin firmware for Atmega328 no Fan port is mentioned.what should i do?