utl7segr 2.0.0.0
|
UT-L 7-SEG R click carries two SMD ultra thin LED 7-SEG displays and the MAX6969 constant-current LED driver from Maxim Integrated. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI interface.
We provide a library for the UT-L7-SEGR 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 from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for UT-L7-SEGR Click driver.
utl7segr_cfg_setup
Config Object Initialization function. utl7segr_init
Initialization function. utl7segr_default_cfg
Click Default Configuration function. utl7segr_generic_write
This function writes a desired number of data bytes starting from the selected register by using SPI serial interface. utl7segr_display_state
This function turns display on and off. utl7segr_display_number
This function is used to show the number on the display. The demo application shows basic usage of the UT 7 SEG display.
The demo application is composed of two sections :
Configuring clicks and log objects. Settings the click in the default configuration.
Draws numbers from 0 to 99 on the screen.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
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.