changed logo to sad

This commit is contained in:
vilenne 2023-02-15 18:03:25 +01:00
parent e8fe98e0d1
commit b8e12603c1

View file

@ -82,7 +82,7 @@ hub = PrimeHub()
iqRobot: iq.IQRobot = iq.IQRobot(hub, LEFT_MOTOR_PORT, RIGHT_MOTOR_PORT, COLOR_SENSOR_PORT) iqRobot: iq.IQRobot = iq.IQRobot(hub, LEFT_MOTOR_PORT, RIGHT_MOTOR_PORT, COLOR_SENSOR_PORT)
# Führe Funktionen aus unser Robot Klasse aus: # Führe Funktionen aus unser Robot Klasse aus:
iqRobot.show('SAD') iqRobot.show('ANGRY')
iqRobot.driveForward_for_sec(0.5) iqRobot.driveForward_for_sec(0.5)
colorIntensity = iqRobot.getColorIntensity() colorIntensity = iqRobot.getColorIntensity()
print("Farbintensität: " + str(colorIntensity)) print("Farbintensität: " + str(colorIntensity))