add setup variables
don't allow interrupts while in input mode