One camera can now be accessed by two seperate pieces of code. Updated minor version.

This commit is contained in:
simleek
2020-05-14 20:15:14 -07:00
parent 2bb608b62b
commit 833b783188
5 changed files with 39 additions and 20 deletions

View File

@@ -0,0 +1,10 @@
from displayarray import read_updates
with read_updates(0) as a, read_updates(0) as b:
for i in range(1000):
a.update()
b.update()
try:
print(a.frames == b.frames)
except ValueError:
print(f"frame comparison: {(a.frames['0'][0] == b.frames['0'][0]).all()}")