Changed Logo from Happy to Sad
This commit is contained in:
parent
31510f9e21
commit
e8fe98e0d1
1 changed files with 2 additions and 2 deletions
4
main.py
4
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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue