uPython-specific code setup
This commit is contained in:
parent
1b31587202
commit
aa9648218c
4
MicroPython/uPythonParticipant.py
Normal file
4
MicroPython/uPythonParticipant.py
Normal file
@ -0,0 +1,4 @@
|
||||
class uPythonParticipant:
|
||||
pass
|
||||
|
||||
|
@ -9,6 +9,12 @@ from Messages.ModelUrlMsg import ModelUrlMsg
|
||||
from Messages import *
|
||||
from Thing import Thing
|
||||
|
||||
import sys
|
||||
micropython = 'micropython' in sys.modules
|
||||
|
||||
if micropython:
|
||||
from MicroPython.uPythonParticipant import Bla
|
||||
|
||||
class Participant:
|
||||
"""! A participant is used for communcation between things.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user