Android Question Flash single pulse

Discussion in 'Android Questions' started by anallie0, Apr 20, 2015.

  1. anallie0

    anallie0 Active Member Licensed User

    I need to take a pulse with LED flash camera. Anyone have any idea how to get it. I have to set the time duration between on and off?
  2. eurojam

    eurojam Well-Known Member Licensed User

    you can use the cameraEx class ( and then use something like this together with a timer:

    Sub Camera1_Ready (Success As Boolean)
    If Success Then
    Log(camEx.GetSupportedFlashModes) 'here check first which modes are supported
            camEx.SetFlashMode("torch"'will turn it on into torch mode
    ToastMessageShow("Cannot open camera."True)
    End If
    End Sub
    DonManfred likes this.
  3. Johan Schoeman

    Johan Schoeman Expert Licensed User

    This could also perhaps do it with a timer
  1. 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.
    Dismiss Notice