Added a simple inverter for speed controllers