This commit is contained in:
gac-iss
2020-01-16 13:19:38 +01:00
parent e765937e68
commit d8582d79a3

View File

@@ -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()