STUFF
This commit is contained in:
parent
8e7a0c2589
commit
2dcd7cca0b
1 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,7 @@ from spike import PrimeHub, Motor, MotorPair, ColorSensor
|
|||
from spike.control import wait_for_seconds
|
||||
|
||||
HELLO = "HELLO IQ"
|
||||
VERSION = "0.0.1"
|
||||
|
||||
'''
|
||||
Wir nutzen "Duck typing", dh wir schreiben hinter jede Variabel mit ':' die Klasse, zB `leftMotor: Motor`
|
||||
|
@ -49,7 +50,6 @@ class IQRobot:
|
|||
|
||||
def main(self):
|
||||
|
||||
self
|
||||
'''
|
||||
self.moveStick(30)
|
||||
if self.colorSensor.get_reflected_light() > 1:
|
||||
|
@ -66,4 +66,4 @@ class IQRobot:
|
|||
#Bewege sanft und langsam die Schleuderstange am hinteren Rumpf des Geräts
|
||||
self.stickMotor.run_for_degrees(degrees)
|
||||
|
||||
print("successfully loaded the IQ Lego teams code :)")
|
||||
print("Loading library IQRobot in version " + VERSION)
|
||||
|
|
Loading…
Reference in a new issue