c16x9 2.0.0.0
main.c File Reference

16x9 Click example More...

#include "board.h"
#include "log.h"
#include "c16x9.h"

Functions

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

Variables

c16x9_image_t image_on
 
c16x9_image_t image_off
 
c16x9_char_t data_char
 
c16x9_rectangle_t rectangle
 

Detailed Description

16x9 Click example

Description

Demo application is used to shows basic controls 16x9 click

The demo application is composed of two sections :

Application Init

Configuring clicks and log objects. Set basic images and characters to be drawn on the screen.

Application Task

Display character, image and rectangle every 1 second.

Author
Katarina Perendic

Function Documentation

◆ application_init()

void application_init ( void )

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 )

Variable Documentation

◆ data_char

c16x9_char_t data_char

◆ image_off

c16x9_image_t image_off

◆ image_on

c16x9_image_t image_on

◆ rectangle

c16x9_rectangle_t rectangle