Electronics for controlling engine and transmission