Public Member Functions | |
def | __init__ |
def | __family__ |
def | checkPWMChannel |
def | checkPWMValue |
def | __pwmRead__ |
def | __pwmWrite__ |
def | pwmCount |
def | pwmResolution |
def | pwmMaximum |
def | pwmRead |
def | pwmReadFloat |
def | pwmWrite |
def | pwmWriteFloat |
def | getReverse |
def | setReverse |
def | RatioToAngle |
def | AngleToRatio |
def | pwmReadAngle |
def | pwmWriteAngle |
def | pwmWildcard |
Public Attributes | |
frequency | |
period | |
servo_neutral | |
servo_travel_time | |
servo_travel_angle | |
reverse | |
Private Attributes | |
_pwmCount | |
_pwmResolution | |
_pwmMax | |
Definition at line 132 of file __init__.py.
def webiopi.devices.analog.PWM.__init__ | ( | self, | |
channelCount, | |||
resolution, | |||
frequency | |||
) |
Definition at line 133 of file __init__.py.
def webiopi.devices.analog.PWM.__family__ | ( | self | ) |
Definition at line 147 of file __init__.py.
def webiopi.devices.analog.PWM.__pwmRead__ | ( | self, | |
channel | |||
) |
Definition at line 158 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.pwmRead().
def webiopi.devices.analog.PWM.__pwmWrite__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 161 of file __init__.py.
References webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.PWM.pwmWrite().
def webiopi.devices.analog.PWM.AngleToRatio | ( | self, | |
value | |||
) |
Definition at line 221 of file __init__.py.
References webiopi.devices.analog.PWM.period, webiopi.decorators.rest.request(), coap-client.response, webiopi.devices.analog.PWM.servo_neutral, webiopi.devices.analog.PWM.servo_travel_angle, and webiopi.devices.analog.PWM.servo_travel_time.
Referenced by webiopi.devices.analog.PWM.pwmWriteAngle().
def webiopi.devices.analog.PWM.checkPWMChannel | ( | self, | |
channel | |||
) |
Definition at line 150 of file __init__.py.
References webiopi.devices.analog.PWM._pwmCount.
Referenced by webiopi.devices.analog.PWM.pwmRead(), and webiopi.devices.analog.PWM.pwmWrite().
def webiopi.devices.analog.PWM.checkPWMValue | ( | self, | |
value | |||
) |
Definition at line 154 of file __init__.py.
References webiopi.devices.analog.PWM._pwmMax.
Referenced by webiopi.devices.analog.PWM.pwmWrite().
def webiopi.devices.analog.PWM.getReverse | ( | self, | |
channel | |||
) |
Definition at line 204 of file __init__.py.
References webiopi.devices.shield.piface.PiFaceDigital.checkChannel(), and webiopi.devices.analog.PWM.reverse.
def webiopi.devices.analog.PWM.pwmCount | ( | self | ) |
Definition at line 166 of file __init__.py.
References webiopi.devices.analog.PWM._pwmCount, webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.analog.PWM.pwmMaximum | ( | self | ) |
Definition at line 176 of file __init__.py.
References webiopi.devices.analog.PWM._pwmMax, webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.analog.PWM.pwmRead | ( | self, | |
channel | |||
) |
Definition at line 181 of file __init__.py.
References webiopi.devices.analog.PWM.__pwmRead__(), webiopi.devices.analog.PWM.checkPWMChannel(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.PWM.pwmReadFloat(), and webiopi.devices.analog.PWM.pwmWrite().
def webiopi.devices.analog.PWM.pwmReadAngle | ( | self, | |
channel | |||
) |
Definition at line 231 of file __init__.py.
References webiopi.devices.analog.PWM.pwmReadFloat(), webiopi.devices.analog.PWM.RatioToAngle(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.devices.analog.PWM.reverse.
Referenced by webiopi.devices.analog.PWM.pwmWriteAngle().
def webiopi.devices.analog.PWM.pwmReadFloat | ( | self, | |
channel | |||
) |
Definition at line 187 of file __init__.py.
References webiopi.devices.analog.PWM._pwmMax, webiopi.devices.analog.PWM.pwmRead(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.PWM.pwmReadAngle(), webiopi.devices.analog.PWM.pwmWildcard(), and webiopi.devices.analog.PWM.pwmWriteFloat().
def webiopi.devices.analog.PWM.pwmResolution | ( | self | ) |
Definition at line 171 of file __init__.py.
References webiopi.devices.analog.PWM._pwmResolution, webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.analog.PWM.pwmWildcard | ( | self | ) |
Definition at line 253 of file __init__.py.
References webiopi.devices.analog.PWM._pwmCount, webiopi.devices.analog.PWM.pwmReadFloat(), and webiopi.devices.analog.PWM.RatioToAngle().
def webiopi.devices.analog.PWM.pwmWrite | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 192 of file __init__.py.
References webiopi.devices.analog.PWM.__pwmWrite__(), webiopi.devices.analog.PWM.checkPWMChannel(), webiopi.devices.analog.PWM.checkPWMValue(), webiopi.devices.analog.PWM.pwmRead(), webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.analog.PWM.pwmWriteFloat().
def webiopi.devices.analog.PWM.pwmWriteAngle | ( | self, | |
channel, | |||
value | |||
) |
def webiopi.devices.analog.PWM.pwmWriteFloat | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 200 of file __init__.py.
References webiopi.devices.analog.PWM._pwmMax, webiopi.devices.analog.PWM.pwmReadFloat(), and webiopi.devices.analog.PWM.pwmWrite().
Referenced by webiopi.devices.analog.PWM.pwmWriteAngle().
def webiopi.devices.analog.PWM.RatioToAngle | ( | self, | |
value | |||
) |
Definition at line 213 of file __init__.py.
References webiopi.devices.analog.PWM.period, webiopi.devices.analog.PWM.servo_neutral, webiopi.devices.analog.PWM.servo_travel_angle, and webiopi.devices.analog.PWM.servo_travel_time.
Referenced by webiopi.devices.analog.PWM.pwmReadAngle(), and webiopi.devices.analog.PWM.pwmWildcard().
def webiopi.devices.analog.PWM.setReverse | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 208 of file __init__.py.
References webiopi.devices.shield.piface.PiFaceDigital.checkChannel(), and webiopi.devices.analog.PWM.reverse.
|
private |
Definition at line 134 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.checkPWMChannel(), webiopi.devices.analog.PWM.pwmCount(), and webiopi.devices.analog.PWM.pwmWildcard().
|
private |
Definition at line 136 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.checkPWMValue(), webiopi.devices.analog.PWM.pwmMaximum(), webiopi.devices.analog.PWM.pwmReadFloat(), and webiopi.devices.analog.PWM.pwmWriteFloat().
|
private |
Definition at line 135 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.pwmResolution().
webiopi.devices.analog.PWM.frequency |
Definition at line 137 of file __init__.py.
Referenced by webiopi.devices.sensor.vcnl4000.VCNL4000.__setFrequency__().
webiopi.devices.analog.PWM.period |
Definition at line 138 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.AngleToRatio(), and webiopi.devices.analog.PWM.RatioToAngle().
webiopi.devices.analog.PWM.reverse |
Definition at line 145 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.getReverse(), webiopi.devices.analog.PWM.pwmReadAngle(), webiopi.devices.analog.PWM.pwmWriteAngle(), and webiopi.devices.analog.PWM.setReverse().
webiopi.devices.analog.PWM.servo_neutral |
Definition at line 141 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.AngleToRatio(), and webiopi.devices.analog.PWM.RatioToAngle().
webiopi.devices.analog.PWM.servo_travel_angle |
Definition at line 143 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.AngleToRatio(), and webiopi.devices.analog.PWM.RatioToAngle().
webiopi.devices.analog.PWM.servo_travel_time |
Definition at line 142 of file __init__.py.
Referenced by webiopi.devices.analog.PWM.AngleToRatio(), and webiopi.devices.analog.PWM.RatioToAngle().