|
| def | __init__ (self) |
| |
| def | __enter__ (self) |
| |
| def | __exit__ (self, exc_type, exc_value, traceback) |
| |
| def | available_pins (self) |
| |
| def | analog_references (self) |
| |
| def | available_pins (self) |
| | Returns available pins. More...
|
| |
| def | map_pin (self, abstract_pin_id, physical_pin_id) |
| | Maps a pin number to a physical device pin. More...
|
| |
| def | mapped_pins (self) |
| | Returns a dictionary containing the mapped pins. More...
|
| |
| def | set_pin_interpolation (self, pin, read_min, read_max, write_min, write_max) |
| | Interpolates input and output values for pin. More...
|
| |
| def | set_pin_direction (self, pin, direction) |
| | Sets pin pin to direction. More...
|
| |
| def | pin_direction (self, pin) |
| | Gets the ahio.Direction this pin was set to. More...
|
| |
| def | set_pin_type (self, pin, ptype) |
| | Sets pin pin to type. More...
|
| |
| def | pin_type (self, pin) |
| | Gets the ahio.PortType this pin was set to. More...
|
| |
| def | write (self, pin, value, pwm=False) |
| | Sets the output to the given value. More...
|
| |
| def | read (self, pin) |
| | Reads value from pin pin. More...
|
| |
| def | analog_references (self) |
| | Possible values for analog reference. More...
|
| |
| def | set_analog_reference (self, reference, pin=None) |
| | Sets the analog reference to reference More...
|
| |
| def | analog_reference (self, pin=None) |
| | Returns the analog reference. More...
|
| |
| def | set_pwm_frequency (self, frequency, pin=None) |
| | Sets PWM frequency, if supported by hardware. More...
|
| |
Definition at line 80 of file raspberry.py.