34 lines
558 B
Python
34 lines
558 B
Python
Node('bridge.psi.ch',
|
|
'ac resistance bridge',
|
|
'tcp://5000',
|
|
)
|
|
|
|
Mod('io',
|
|
'frappy_psi.bridge.BridgeIO',
|
|
'communication to sim900',
|
|
uri='serial:///dev/cu.usbserial-14440',
|
|
)
|
|
|
|
Mod('Resistance_1',
|
|
'frappy_psi.bridge.SIM921',
|
|
'module communication',
|
|
io='io',
|
|
port=1,
|
|
# channel='A'
|
|
)
|
|
|
|
Mod('Resistance_2',
|
|
'frappy_psi.bridge.SIM921',
|
|
'module communication',
|
|
io='io',
|
|
port=3,
|
|
)
|
|
|
|
Mod('Resistance_3',
|
|
'frappy_psi.bridge.SIM921',
|
|
'module communication',
|
|
io='io',
|
|
port=5,
|
|
)
|
|
|