Skip to content

Commit 6b471a7

Browse files
committed
Add new gpiozero LED part
1 parent d8e5ea7 commit 6b471a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

donkeycar/templates/donkey3_pico.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ def run(self):
200200

201201

202202
def led(cfg):
203-
from donkeycar.parts.led_status import LEDStatus
203+
from donkeycar.parts.led_status import LEDStatusPi
204204
donkeycar.logger.setLevel(logging.DEBUG)
205205
car = dk.vehicle.Vehicle()
206206
car.add(OnOff(), outputs=['mode', 'lap', 'wipe'])
207-
car.add(LEDStatus(), inputs=['mode', 'lap', 'wipe'], threaded=True)
207+
car.add(LEDStatusPi(), inputs=['mode', 'lap', 'wipe'], threaded=True)
208208
car.start(rate_hz=40, max_loop_count=2000)
209209

210210

0 commit comments

Comments
 (0)