Much smaller than L298 and can handle the same loads. They don't even take up half the space and you can use the same code as L298 just connect the wires correctly.
Adjustable AC Current Sensing Switch: SZC23 No AL-CH Model, 0.2A-30A Range
14 Review
Universal Rotary Cam Selector Latching Switches - VictorsHome Changeover Switch LW28-32 With 3 Positions, 12 Terminals For 690V, 32A Capacity
9 Review
5Pcs 19Mm 12V 24V Waterproof Latching Push Button Switch With Wiring Harness And LED Indicator Light, Pre-Wired SPDT Self-Locking 4 Pin Marine Metal Switch For Boats Cars Trucks (Blue)
22 Review
TWTADE/AC 24V 10A Coil Electromagnetic Power Relay 8 Pins 2DPT 2NO+2NC With Indicator Light And Socket Base -YJ2N-LY
9 Review