B4J Programming Press on the image to return to the main documentation page.

rAPDS9960

List of types:

APDS9960

APDS9960


Events:

Gesture (Gesture As Int)

Members:


  DIR_ALL As Int

  DIR_DOWN As Int

  DIR_FAR As Int

  DIR_LEFT As Int

  DIR_NEAR As Int

  DIR_RIGHT As Int

  DIR_UP As Int

  DisableGestureSensor As void

  DisableLightSensor As void

  DisableProximitySensor As void

  EnableGestureSensor As Boolean

  EnableLightSensor As Boolean

  EnableProximitySensor As Boolean

  Initialize (GestureSub As SubVoidInt) As Boolean

  ReadBlueLight As Long

  ReadGreenLight As Long

  ReadProximity As Int

  ReadRedLight As Long

Members description:

DIR_ALL As Int
DIR_DOWN As Int
DIR_FAR As Int
DIR_LEFT As Int
DIR_NEAR As Int
DIR_RIGHT As Int
DIR_UP As Int
DisableGestureSensor As void
Disables the gesture sensor.
DisableLightSensor As void
DisableProximitySensor As void
Disables the proximity sensor.
EnableGestureSensor As Boolean
Enables the gesture sensor. Returns true if successful.
EnableLightSensor As Boolean
Enables the light sensor.
EnableProximitySensor As Boolean
Enables the proximity sensor. Returns true if successful.
Initialize (GestureSub As SubVoidInt) As Boolean
Initializes the module. Returns true if it was initialized successfully.
ReadBlueLight As Long
ReadGreenLight As Long
ReadProximity As Int
Returns the proximity value (0 far - 255 near).
Returns -1 if it failed to read the proximity.
Make sure to first call EnableProximitySensor.
ReadRedLight As Long

Top