esds/tests/simple_read_eth0_ncom_2s1r/sender.py
2022-06-09 21:48:32 +02:00

9 lines
189 B
Python

#!/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)