I need to capture the flashes of light through a camera
eg: I place the camera in front of the lamp if the lamp turn off and then turn on the camera should count me 1.
But TYPE_LIGHT sensor does not detect the flash from the camera, but by a dedicated sensor.
I currently have this problem
I do not see the label numeric values
is correct as I have initialized?
B4X:
Sub
Activity_Create(FirstTime AsBoolean)
ps.Initialize(ps.TYPE_LIGHT)
End Sub
B4X:
Sub Button2_Click
ps.StartListening("ps")
End Sub
B4X:
Sub ps_SensorChanged (Values() As Float)
Label1.Text=Values
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.