Classes | |
| class | BuzzerState |
| class | LightState |
| class | Target |
Public Member Functions | |
| def | __init__ |
| def | __repr__ |
| def | blue |
| def | buzzer |
| def | clear |
| def | code2int |
| def | green |
| def | int2code |
| def | is_valid |
| def | red |
| def | set_from_int |
| def | white |
| def | yellow |
Public Attributes | |
| state | |
This is a patlite state class
Definition at line 7 of file patlite.py.
| def patlite.PatliteState.__init__ | ( | self, | |
state = None |
|||
| ) |
Definition at line 64 of file patlite.py.
| def patlite.PatliteState.__repr__ | ( | self | ) |
Definition at line 103 of file patlite.py.
| def patlite.PatliteState.blue | ( | self, | |
| value | |||
| ) |
Definition at line 82 of file patlite.py.
| def patlite.PatliteState.buzzer | ( | self, | |
| value | |||
| ) |
Definition at line 90 of file patlite.py.
| def patlite.PatliteState.clear | ( | self | ) |
Definition at line 55 of file patlite.py.
| def patlite.PatliteState.code2int | ( | self, | |
| c | |||
| ) |
Definition at line 47 of file patlite.py.
| def patlite.PatliteState.green | ( | self, | |
| value | |||
| ) |
Definition at line 78 of file patlite.py.
| def patlite.PatliteState.int2code | ( | self, | |
| i | |||
| ) |
Definition at line 39 of file patlite.py.
| def patlite.PatliteState.is_valid | ( | self, | |
| target, | |||
| state | |||
| ) |
Definition at line 99 of file patlite.py.
| def patlite.PatliteState.red | ( | self, | |
| value | |||
| ) |
Definition at line 70 of file patlite.py.
| def patlite.PatliteState.set_from_int | ( | self, | |
| target, | |||
| state | |||
| ) |
Definition at line 94 of file patlite.py.
| def patlite.PatliteState.white | ( | self, | |
| value | |||
| ) |
Definition at line 86 of file patlite.py.
| def patlite.PatliteState.yellow | ( | self, | |
| value | |||
| ) |
Definition at line 74 of file patlite.py.
Definition at line 55 of file patlite.py.