def _write_commands(self):
        """Write commands to hardware."""
        # disable program
        commands = [self.platform.pinproc.aux_command_disable()]
        # build command list
        for command_set in self._commands:
            commands += command_set
            self.platform.run_proc_cmd_no_wait("aux_send_commands", 0, commands)

        # jump from slot 0 to slot 1. overwrites the disable
            self.platform.run_proc_cmd_no_wait("aux_send_commands", 0, [self.platform.pinproc.aux_command_jump(1)])