|
__init__(self,
agent)
Contructs a PWM object. |
|
|
|
set_period(self,
pins,
period)
Sets the output period for the specified pins. |
|
|
|
set_freq(self,
pins,
freq)
Sets the output frequency for the specified pins. |
|
|
tuple of integers
|
get_period(self)
Gets the output period of the pins. |
|
|
tuple of integers
|
get_freq(self)
Sets the output freq of the pins. |
|
|
|
set_duty(self,
pins,
duty)
Sets the output duty cycle for the specified pins. |
|
|
tuple of integer integer
|
get_duty(self)
Gets the output duty cycle for the pins. |
|
|
|
start(self,
pins)
Enable PWM output for the specified pins. |
|
|
|
stop(self,
pins)
Disable PWM output for the specified pins. |
|
|
Inherited from Module :
do_op
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|