commit before changing configureAIAO
read mode and gain routines written