c4dotmatrixr 2.0.0.0
|
4Dot-Matrix R click is a display device Click boardâ„¢, which contains a four-digit dot matrix display module, labeled as SLO2016.
We provide a library for the c4dotmatrixr Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for c4dotmatrixr Click driver.
- Initialization function.void c4dotmatrixr_cfg_setup ( c4dotmatrixr_cfg_t *cfg );
C4DOTMATRIXR_RETVAL c4dotmatrixr_init ( c4dotmatrixr_t *ctx, c4dotmatrixr_cfg_t *cfg );
void c4dotmatrixr_default_cfg ( c4dotmatrixr_t *ctx );
- 4DotMatrix Char 0 Write.void c4dot_write_char ( c4dotmatrixr_t *ctx, uint8_t char_num, uint8_t char_value );
void c4dot_write_char0 ( c4dotmatrixr_t *ctx, uint8_t char_value );
void c4dot_write_text ( c4dotmatrixr_t *ctx, uint8_t *text_to_write );
This example demonstrates the use of 4Dot-Matrix R click board.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Displays a desired text message and then numbers from -20 to 20 on the click board. Each step will be logged on the USB UART where you can track the program flow.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.