Herunterladen Diese Seite drucken

LEGO MINDSTORMS Education EV3 MicroPython Erste Schritte Seite 50

Werbung

Erste Schritte mit LEGO
elif
color == Color.YELLOW:
brick.sound.file(SoundFile.YELLOW)
belt_motor.run_target(500, 360)
elif
color == Color.RED:
brick.sound.file(SoundFile.RED)
belt_motor.run_target(500, 530)
# Now that the conveyor belt is in the correct position,
# eject the colored object.
feed_motor.run_angle(1500, 90)
feed_motor.run_angle(1500, -90)
MINDSTORMS
®
®
LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group.
©2019 The LEGO Group.
Education EV3 MicroPython
Version 1.0.0
(Fortsetzung von der vorherigen Seite)
48

Werbung

loading