/usr/share/expeyes/firmware/test.py is in expeyes-firmware-dev 4.3.6+dfsg-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | import expeyes.eyes, time
p=expeyes.eyes.open()
good = False
for k in range(5):
res = p.read_inputs()
if res != None:
print 'EYES communication Okey'
good = True
break
if good == False:
print 'EYES Communication failed. Something Wrong !!!'
|