def set_drum_motor(self, drum_motor):
if type(drum_motor) != bool:<EOL><INDENT>raise InvalidInput("<STR_LIT>")<EOL><DEDENT>self._config['<STR_LIT>'] = bool2int(drum_motor)<EOL>self._log.debug(self._config)<EOL>self._q.put(self._config)<EOL>
Set the drum motor config.

        :param drum_motor: Value to set the drum motor
        :type drum_motor: bool
        :returns: None
        :raises: InvalidInput