]>
vault307.fbx.one Git - mu_code.git/blob - octoStatus.py
2 # octoStatus-ping octoCams and light LED to show status
4 from gpiozero
import LED
23 octoCam0
='192.168.0.60'
24 octoCam1
='192.168.0.34'
25 octoCam2
='192.168.0.32'
26 octoCam3
='192.168.0.33'
27 octoCam4
='192.168.0.36'
28 octoCam5
='192.168.0.37'
29 octoCam6
='192.168.0.38'
33 response
=os
.system('ping -c1 '+octoCam0
)
44 response
=os
.system('ping -c1 '+octoCam1
)
55 response
=os
.system('ping -c1 '+octoCam2
)
67 response
=os
.system('ping -c1 '+octoCam3
)
78 response
=os
.system('ping -c1 '+octoCam4
)
89 response
=os
.system('ping -c1 '+octoCam5
)
100 response
=os
.system('ping -c1 '+octoCam6
)