terminal 2.0.0.0
main.c File Reference

Terminal Click example. More...

#include "board.h"
#include "log.h"
#include "terminal.h"

Functions

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

Detailed Description

Terminal Click example.

Description

This example showcases how to initialize, configure and use the Terminal click. It is a simple GPIO click which is used like an adapter for connecting and stacking other clicks and external equimpent.

The demo application is composed of two sections :

Application Init

This function initializes and configures the click and logger modules.

Application Task

This function sets the output on all the pins (one by one) on the left side to high, going from top to bottom and then does the same with the ones on the right side, after which it sets all pins to high and after one second sets them back to low.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( )

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 ( )

◆ main()

int main ( void )