blob: c10d0554bd756f04d25978aec2b5a8042469d515 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Documentation for `NeoBehaviour`
::: luxcena_neo.neo_behaviour.NeoBehaviour
handler: python
options:
show_root_heading: true
show_source: false
filters: ["!^__init__"]
### An example of the usage of the class
```python
from luxcena_neo import NeoBehaviour
class Main(NeoBehaviour):
def on_start(self):
strip.setPixelColor(0, "#fafafa")
```
---
::: luxcena_neo.neo_behaviour.Variable
handler: python
options:
show_root_heading: true
show_source: false
---
::: luxcena_neo.neo_behaviour.ColorVariable
handler: python
options:
show_root_heading: true
show_source: false
---
::: luxcena_neo.neo_behaviour.IntegerVariable
handler: python
options:
show_root_heading: true
show_source: false
---
::: luxcena_neo.neo_behaviour.FloatVariable
handler: python
options:
show_root_heading: true
show_source: false
#show_category_heading: true
#show_if_no_docstring: true
---
::: luxcena_neo.neo_behaviour.BooleanVariable
handler: python
options:
show_root_heading: true
show_source: false
---
::: luxcena_neo.neo_behaviour.Trigger
handler: python
options:
show_root_heading: true
show_source: false
|