current  2.0.0.0
Functions
main.c File Reference

Current Click example. More...

#include "board.h"
#include "log.h"
#include "current.h"

Functions

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

Detailed Description

Current Click example.

Description

Demo app measures and displays current by using Current click board.

The demo application is composed of two sections :

Application Init

Initalizes SPI, LOG and click drivers.

Application Task

This is an example that shows the capabilities of the Current click board by measuring current in miliampers. Current click board can be used to safely measure current ranging from 2mA to 2048mA.

note: It is important to provide the shunt of the appropriate value.

Author
Jovan Stajkovic

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )