Startup
This commit is contained in:
1 parent
e765937e68
commit
d8582d79a3
1 file changed
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
sensors=[i0, scienta.stats[0]]
|
||||
regions = [[523.0, 527.0, 0.5], [527.0, 535.0, 0.25], [535.0, 558.0, 0.5]]
|
||||
|
||||
|
||||
|
||||
def trigger(position, scan):
|
||||
scienta.start()
|
||||
|
||||
try:
|
||||
rscan(energy, sensors, regions, latency = 0.0, before_read=trigger)
|
||||
finally:
|
||||
scienta.zeroSupplies()
|
||||
Reference in new issue
Block a user