Update wiring spreadsheet and add arm motor state machine