ism 2.0.0.0
main.c File Reference

Ism Click example. More...

#include "board.h"
#include "log.h"
#include "ism.h"

Macros

#define DEMO_APP_TRANSMITTER
 

Functions

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

Detailed Description

Ism Click example.

Description

This library contains API for the ISM Click driver. This example transmits/receives and processes data from ISM clicks.

The demo application is composed of two sections :

Application Init

Initializes driver and performs the default configuration.

Application Task

Transmitter/Receiver task depends on uncommented code. Receiver logging each received byte to the UART for data logging, while transmitter send messages every 1 second.

Author
Nenad Filipovic

Macro Definition Documentation

◆ DEMO_APP_TRANSMITTER

#define DEMO_APP_TRANSMITTER

Function Documentation

◆ application_init()

void application_init ( void )

< Logger config object.

< Click config object.

Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG

Note
If USB_UART_RX and USB_UART_TX are defined as HAL_PIN_NC, you will need to define them manually for log to work. See LOG_MAP_USB_UART macro definition for detailed explanation.

◆ application_task()

void application_task ( void )

◆ main()

int main ( void )