expand2  2.0.0.0
Functions
main.c File Reference

Expand2 Click example. More...

#include "board.h"
#include "log.h"
#include "expand2.h"

Functions

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

Detailed Description

Expand2 Click example.

Description

This application enables use of the expand 2 click.

The demo application is composed of two sections :

Application Init

Initialization driver enable's - I2C and GPIO, reset Expand 2 click, set PORTA to be output, set PORTB to be input.

Application Task

This is a example which demonstrates the use of Expand 2 Click board. Expand 2 Click communicates with register via I2C by write to register and read from register, set configuration of ports and set or get ports status.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )