Problem getting LED to turn on using AdvancedCamera library

SlavaVB

Member
Licensed User
Longtime User
I'm having issues turning the FLASH on...


B4X:
'Activity module
Sub Process_Globals
   'These global variables will be declared once when the application starts.
   'These variables can be accessed from all modules.

End Sub

Sub Globals
   'These global variables will be redeclared each time the activity is created.
   'These variables can only be accessed from this module.
   Dim Cam1 As AdvancedCamera
End Sub

Sub Activity_Create(FirstTime As Boolean)
   cam1.Initialize(Activity, "cam")
   
End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub


Sub cam_Ready (Success As Boolean)

   Msgbox("on!","")
   
   cam1.FlashOn()

End Sub



Do you know whats wrong? :BangHead:
 
Top