File tree Expand file tree Collapse file tree 10 files changed +46
-51
lines changed Expand file tree Collapse file tree 10 files changed +46
-51
lines changed Original file line number Diff line number Diff line change 32
32
[ conditional events] ( ../events/overview/conditional.md ) , the prefix for accelerometers is
33
33
` device.accelerometers.(name) ` .
34
34
35
- * value*
35
+ ### * value* :
36
36
37
- : A three-item tuple (x, y, z) of the current accelerometer values.
37
+ A three-item tuple (x, y, z) of the current accelerometer values.
38
38
39
39
## Related How To guides
40
40
41
41
[ Help us to write it] ( ../about/help.md )
42
42
43
43
## Related Events
44
44
45
- * None*
45
+ ### * None* :
46
46
47
- : Varies based on the configured (you can configure events to be
48
- emitted when certain G-force thresholds are exceeded).
47
+ Varies based on the configured (you can configure events to be
48
+ emitted when certain G-force thresholds are exceeded).
Original file line number Diff line number Diff line change 207
207
[ dynamic values] ( ../config/instructions/dynamic_values.md ) and
208
208
[ conditional events] ( ../events/overview/conditional.md ) , the prefix for autofire coils is ` device.autofires.(name) ` .
209
209
210
- * enabled*
210
+ ### * enabled* :
211
211
212
- : Boolean (true/false) which shows whether this autofire coil is
213
- enabled.
212
+ Boolean (true/false) which shows whether this autofire coil is enabled.
214
213
215
214
## Fully working basic example
216
215
@@ -306,7 +305,6 @@ A few comments on the above example:
306
305
307
306
# # Related Events
308
307
309
- *None*
308
+ # ## *None*:
310
309
311
- : The autofire coils can be configured to enable or disable based on
312
- other events.
310
+ The autofire coils can be configured to enable or disable based on other events.
Original file line number Diff line number Diff line change @@ -119,19 +119,19 @@ For
119
119
[ conditional events] ( ../../events/overview/conditional.md ) , the prefix for ball devices is
120
120
` device.ball_devices.(name) ` .
121
121
122
- * available_balls*
122
+ ### * available_balls* :
123
123
124
- : Number of balls that are available to be ejected. This differs from
125
- * balls* since it's possible that this device could have balls that
126
- are being used for some other eject, and thus not available.
124
+ Number of balls that are available to be ejected. This differs from
125
+ * balls* since it's possible that this device could have balls that
126
+ are being used for some other eject, and thus not available.
127
127
128
- * state*
128
+ ### * state* :
129
129
130
- : What state this device is in.
130
+ What state this device is in.
131
131
132
- * balls*
132
+ ### * balls* :
133
133
134
- : How many balls this device is currently holding.
134
+ How many balls this device is currently holding.
135
135
136
136
## Related How To guides
137
137
Original file line number Diff line number Diff line change @@ -176,20 +176,20 @@ For
176
176
[ dynamic values] ( ../../config/instructions/dynamic_values.md ) and
177
177
[ conditional events] ( ../../events/overview/conditional.md ) , the prefix for diverters is ` device.diverters.(name) ` .
178
178
179
- * active*
179
+ ### * active* :
180
180
181
- : Boolean (true/false) as to whether this diverter is actively on and
182
- in the powered state.
181
+ Boolean (true/false) as to whether this diverter is actively on and
182
+ in the powered state.
183
183
184
- * enabled*
184
+ ### * enabled* :
185
185
186
- : Boolean (true/false) as to whether this diverter is enabled (meaning
187
- it will be activated when a ball approaches it).
186
+ Boolean (true/false) as to whether this diverter is enabled (meaning
187
+ it will be activated when a ball approaches it).
188
188
189
- * eject_state*
189
+ ### * eject_state* :
190
190
191
- : Boolean (true/false) which shows whether this diverter will be
192
- activating to route a ball eject from an upstream ball device.
191
+ Boolean (true/false) which shows whether this diverter will be
192
+ activating to route a ball eject from an upstream ball device.
193
193
194
194
## Related How To guides
195
195
Original file line number Diff line number Diff line change 97
97
[ dynamic values] ( ../../config/instructions/dynamic_values.md ) and
98
98
[ conditional events] ( ../../events/overview/conditional.md ) , the prefix for flippers is ` device.flippers.(name) ` .
99
99
100
- * enabled*
100
+ ### * enabled* :
101
101
102
- : Boolean (true/false) which shows whether this ball hold is enabled.
102
+ Boolean (true/false) which shows whether this ball hold is enabled.
103
103
104
104
## Related How To guides
105
105
Original file line number Diff line number Diff line change 46
46
[dynamic values](../config/instructions/dynamic_values.md) and
47
47
[conditional events](../events/overview/conditional.md), the prefix for kickbacks is ` device.kickbacks.(name)`.
48
48
49
- *enabled*
49
+ # ## *enabled*:
50
50
51
- : Boolean (true/false) which shows whether this kickback is enabled.
51
+ Boolean (true/false) which shows whether this kickback is enabled.
52
52
53
53
# # Related Events
54
54
Original file line number Diff line number Diff line change @@ -104,11 +104,11 @@ For
104
104
[dynamic values](../../config/instructions/dynamic_values.md) and
105
105
[conditional events](../../events/overview/conditional.md), the prefix for lights is `device.lights.(name)`.
106
106
107
- *color*
107
+ # ## *color*:
108
108
109
- : The color of this string. If you set it to brightness values all
110
- color channels will have the same value. Brightness 100 (of 255)
111
- will be hex 64 and color 646464.
109
+ The color of this string. If you set it to brightness values all
110
+ color channels will have the same value. Brightness 100 (of 255)
111
+ will be hex 64 and color 646464.
112
112
113
113
# # Related How To guides
114
114
Original file line number Diff line number Diff line change 95
95
[dynamic values](../../config/instructions/dynamic_values.md) and
96
96
[conditional events](../../events/overview/conditional.md), the prefix for magnets is ` device.magnets.(name)`.
97
97
98
- *active*
98
+ # ## *active*:
99
99
100
- : Boolean (true/false) as to whether this magnet is actively on and in
101
- the powered state.
100
+ Boolean (true/false) as to whether this magnet is actively on and in the powered state.
102
101
103
- *enabled*
102
+ # ## *enabled*:
104
103
105
- : Boolean (true/false) which shows whether this ball hold is enabled.
104
+ Boolean (true/false) which shows whether this ball hold is enabled.
106
105
107
106
# # Related How To guides
108
107
Original file line number Diff line number Diff line change 49
49
[dynamic values](../../config/instructions/dynamic_values.md) and
50
50
[conditional events](../../events/overview/conditional.md), the prefix for servos is ` device.servos.(name)`.
51
51
52
- *position*
52
+ # ## *position*:
53
53
54
- : Value, stored in memory of what servo position should be, on a scale
55
- from 0.0 to 1.0.
54
+ Value, stored in memory of what servo position should be, on a scale from 0.0 to 1.0.
56
55
57
56
Related How To guides :
58
57
Original file line number Diff line number Diff line change 51
51
[conditional events](../../../events/overview/conditional.md), the prefix for drop target banks is
52
52
` device.drop_target_banks.(name)`.
53
53
54
- *complete*
54
+ # ## *complete*:
55
55
56
- : Boolean (true/false) which shows whether every target in this bank
57
- is complete (down).
56
+ Boolean (true/false) which shows whether every target in this bank is complete (down).
58
57
59
- *down*
58
+ # ## *down*:
60
59
61
- : Number of drop targets in the bank that are in the down state.
60
+ Number of drop targets in the bank that are in the down state.
62
61
63
- *up*
62
+ # ## *up*:
64
63
65
- : Number of drop targets in the bank that are in the up state.
64
+ Number of drop targets in the bank that are in the up state.
66
65
67
66
# # Related How To guides
68
67
You can’t perform that action at this time.
0 commit comments