Added Glitch Room Source code to Gitty
This commit is contained in:
commit
1ac9eb5644
505 files changed
+28504
No files matched your search
@@ -0,0 +1,23 @@
|
||||
@tool
|
||||
class_name HardwareAction
|
||||
extends Resource
|
||||
|
||||
|
||||
enum ActionType {
|
||||
DIGITAL_OUTPUT,
|
||||
PULSE_OUTPUT,
|
||||
}
|
||||
|
||||
|
||||
@export var action_id: StringName = &""
|
||||
@export var display_name: String = ""
|
||||
|
||||
@export var action_type: ActionType = ActionType.PULSE_OUTPUT
|
||||
|
||||
@export_range(0, 1000, 1)
|
||||
var gpio_pin: int = 17
|
||||
|
||||
@export_range(1, 10000, 1)
|
||||
var pulse_duration_ms: int = 250
|
||||
|
||||
@export var active_high: bool = true
|
||||
Reference in new issue
Block a user