diff --git a/main.py b/main.py index c6ba5c2..e998ddd 100644 --- a/main.py +++ b/main.py @@ -82,8 +82,8 @@ hub = PrimeHub() iqRobot: iq.IQRobot = iq.IQRobot(hub, LEFT_MOTOR_PORT, RIGHT_MOTOR_PORT, COLOR_SENSOR_PORT) # Führe Funktionen aus unser Robot Klasse aus: -iqRobot.show('HAPPY') -iqRobot.driveForward_for_sec(2.0) +iqRobot.show('SAD') +iqRobot.driveForward_for_sec(0.5) colorIntensity = iqRobot.getColorIntensity() print("Farbintensität: " + str(colorIntensity))