-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Can you share a little example about hoe to scan devices in the bus ? 😵
i have test your sample
from ebpfcat.ebpfcat import FastEtherCat
master = FastEtherCat("eth0")
await master.connect()
await master.scan_bus()
but i get following message 😵
python ebpfcat1.py
File "/home/jinyistudio/python/ebpfcat1.py", line 6
await master.connect()
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: 'await' outside function
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels