def get_PWM(self):
        '''
        Populates the self.PWM property.

        Calculation is taken from Rs232_Comms_v100.pdf section "Converting values
        sent by the device to meaningful units" item 3.
        '''
        if self.logger:
            self.logger.info('Getting PWM value')
        try:
            value = self.query('!Q')[0]
            self.PWM = float(value) * 1023. / 100.
            if self.logger:
                self.logger.info('  PWM Value = {:.1f}'.format(self.PWM))
        except:
            self.PWM = None
            if self.logger:
                self.logger.info('  Failed to read PWM Value')
        return self.PWM
dataset/ETHPy150Open panoptes/POCS/scripts/read_weather.py/AAGCloudSensor.get_PWM/swapped operands of `/`