proximity9  2.0.0.0
Functions
main.c File Reference

Proximity9 Click example. More...

#include "board.h"
#include "log.h"
#include "proximity9.h"

Functions

void application_init (void)
 
void application_task ()
 
void main (void)
 

Detailed Description

Proximity9 Click example.

Description

This application is proximity sensing (PS) and ambient light sensing (ALS) device.

The demo application is composed of two sections :

Application Init

Initializes I2C interface and performs a device configurations.

Application Task

Performs a data reading and interrupt flag checking. Allows data and interrupt flags messages to be showed on the uart terminal.

note: The ALS sensitivity depends on the ALS integration time setting. The longer integration time has higher sensitivity. The Proximity (PS) output data can be set to 12-bit or 16-bit resolution.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( )

◆ main()

void main ( void  )