Skip to content

Commit 3aa4a25

Browse files
committed
Add devices for tutorials
1 parent f6eebe6 commit 3aa4a25

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/blueapi/tutorial/devices.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from ophyd_async.sim import SimMotor
2+
3+
from blueapi.core.protocols import StaticDeviceManager
4+
5+
devices = StaticDeviceManager()
6+
7+
x = SimMotor(name="x")
8+
y = SimMotor(name="y")
9+
10+
devices.devices["x"] = x
11+
devices.devices["y"] = y

0 commit comments

Comments
 (0)