Abstandssensor #9
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# LEGO type:standard slot:7 autostart
|
||||
# LEGO type:standard slot:6 autostart
|
||||
|
||||
import math
|
||||
|
||||
|
|
2
main.py
2
main.py
|
@ -50,7 +50,7 @@ def importFile(slotid=0, precompiled=False, module_name='importFile'):
|
|||
|
||||
# Importiere Code aus der Datei "iqrobot.py"
|
||||
# Dateiname und Modulname sollten gleich sein, dann kann man Code Completion nutzen
|
||||
importFile(slotid=7, precompiled=True, module_name="iqrobot")
|
||||
importFile(slotid=6, precompiled=True, module_name="iqrobot")
|
||||
import iqrobot as iq
|
||||
print(iq.HELLO)
|
||||
|
||||
|
|
Loading…
Reference in a new issue