esds/tests/simple_read_eth0_ncom_2s1r/sender.py

10 lines
189 B
Python
Raw Normal View History

2022-06-09 21:48:32 +02:00
#!/usr/bin/env python
def execute(api):
api.wait(1248)
if api.node_id==0:
api.send("eth0","hello",50,2)
else:
api.wait(1)
api.send("eth0","hello",50,2)