code can now arm the APM and set various throttles