Changed Logo from Happy to Sad

This commit is contained in:
flhipp 2023-02-15 17:58:44 +01:00
parent 31510f9e21
commit e8fe98e0d1

View file

@ -82,8 +82,8 @@ 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('HAPPY') iqRobot.show('SAD')
iqRobot.driveForward_for_sec(2.0) iqRobot.driveForward_for_sec(0.5)
colorIntensity = iqRobot.getColorIntensity() colorIntensity = iqRobot.getColorIntensity()
print("Farbintensität: " + str(colorIntensity)) print("Farbintensität: " + str(colorIntensity))