diff --git a/MicroPython/uPythonParticipant.py b/MicroPython/uPythonParticipant.py new file mode 100644 index 0000000..1a40df3 --- /dev/null +++ b/MicroPython/uPythonParticipant.py @@ -0,0 +1,4 @@ +class uPythonParticipant: + pass + + \ No newline at end of file diff --git a/Participant.py b/Participant.py index cadaa90..beadcab 100644 --- a/Participant.py +++ b/Participant.py @@ -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.