We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 518a6dc commit 021c4d7Copy full SHA for 021c4d7
deploy/src/main.jl
@@ -104,6 +104,9 @@ function (@main)(args)::Cint
104
stby = GPIO.request_output(gpio, STBY_PIN, "motor_stby", 0)
105
println(Core.stdout, "stby configured")
106
107
+ ltrans_oe = GPIO.request_output(gpio, LTRANS_OE, "ltrans_oe", 0)
108
+ println(Core.stdout, "ltrans_oe configured")
109
+
110
println(Core.stdout, "gpio pins configured")
111
112
# Setup hardware PWM via sysfs
@@ -135,6 +138,7 @@ function (@main)(args)::Cint
135
138
tenc_1a = ThreadedEncoder(Encoder(gpio, M1A))
136
139
tenc_2a = ThreadedEncoder(Encoder(gpio, M2A))
137
140
141
+ GPIO.set_value(ltrans_oe, 1)
142
apply_motor_output!(hw, 512.0f0, 512.0f0)
143
while true end
144
ctrl = BalanceController()
0 commit comments