angle3  2.0.0.0
Functions
main.c File Reference

Angle3 Click example. More...

#include "board.h"
#include "log.h"
#include "angle3.h"

Functions

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

Detailed Description

Angle3 Click example.

Description

This application reads data from the angle sensor, calculates it to degrees and writes it to the terminal.

The demo application is composed of two sections :

Application Init

Initialization driver enable's - SPI, set normal mode and start write log.

Application Task

Angle 3 Click communicates with registers via SPI, reads data from the angle sensor, calculates it to degrees and writes it to the terminal.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )