uPython-specific code setup

This commit is contained in:
Pascal Serrarens 2025-03-09 10:34:02 +01:00
parent 1b31587202
commit aa9648218c
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,4 @@
class uPythonParticipant:
pass

View File

@ -9,6 +9,12 @@ from Messages.ModelUrlMsg import ModelUrlMsg
from Messages import * from Messages import *
from Thing import Thing from Thing import Thing
import sys
micropython = 'micropython' in sys.modules
if micropython:
from MicroPython.uPythonParticipant import Bla
class Participant: class Participant:
"""! A participant is used for communcation between things. """! A participant is used for communcation between things.