TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136829 times)
  2. FAT32 Library (69990 times)
  3. Network Ethernet Library (55975 times)
  4. USB Device Library (46287 times)
  5. Network WiFi Library (41894 times)
  6. FT800 Library (41203 times)
  7. GSM click (29009 times)
  8. PID Library (26421 times)
  9. mikroSDK (26390 times)
  10. microSD click (25383 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

UT-S 7 SEG R click

Rating:

0

Author: MIKROE

Last Updated: 2018-01-21

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: LED segment

Downloaded: 4830 times

Not followed.

License: MIT license  

UT-S 7 SEG R click uses two SMD ultra-thin DSM7UA 7-SEG LED displays, made with the patented technology that delivers thickness of only 2.1 mm. These displays are driven by the MAX6969, a constant current LED integrated driver from Maxim Integrated, which uses the SPI serial interface for communication.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "UT-S 7 SEG R click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "UT-S 7 SEG R click" changes.

Do you want to report abuse regarding "UT-S 7 SEG R click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

 UT-S 7-SEG R Click

UT-S 7-SEG R Click

Native view of the UT-S 7-SEG R Click board.

View full image
UT-S 7-SEG R Click

UT-S 7-SEG R Click

Front and bac view of the UT-S 7-SEG R Click.

View full image

Library Description 
The library covers all the necessary functions for UT-S 7SEG R click control.

Key functions 
uts7segr_writeData - Generic write function
uts7segr_writeNumDec - Writes decimal number
uts7segr_writeNumHex - Writes hexadecimal number

Examples Description
The demo application is composed of three sections:

  • System Initialization - Initialize GPIO pins and SPI module for communication with UT 7SEG click.
  • Application Initialization - Driver Initialization and turning on the lights by setting PWM pin to logical 1.
  • Application Task - Contains four sequences:
    • The first sequence shows how to use generic write functions by providing minus and custom. 
    • The second sequence is a demonstration of the counter using the function for decimal numbers.
    • The third sequence is a demonstration of the counter using the function for hexadecimal numbers.
    • The fourth sequence is a demonstration of the counter using a function with dot option.

NOTE: Brightness can be adjusted using the MCUs PWM module. In that case, GPIO setup for PWM pin is not necessary.

void applicationTask()
{
    uts7segr_writeData( _UTS7SEGR_MINUS, 0xFF );
    
    counter = 0;
    while (counter < 3)
    {
        uts7segr_lightCtl( 0 );
        Delay_ms( 200 );
        uts7segr_lightCtl( 1 );
        Delay_ms( 300 );
        counter++;
    }
    
    counter = 0;
    while (counter < 100)
    {
        uts7segr_writeNumDec( counter );
        Delay_ms(100);
        counter++;
    }
    
    counter = 0;
    while (counter < 0xFF)
    {
        uts7segr_writeNumHex( counter );
        Delay_ms(100);
        counter++;
    }
    
    counter = 0;
    while (counter < 100)
    {
        uts7segr_writeNumDot( counter, _UTS7SEGR_DOT_L );
        Delay_ms(100);
        counter++;
    }
}

 

Additional notes and information
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.    

 

ALSO FROM THIS AUTHOR

Mikromedia 5 for STM32F4 Capacitive FPI

0

This project contains example for testing modules on Mikromedia 5 for STM32F4 Capacitive FPI

[Learn More]

TouchClamp click

0

TouchClamp click is a mikroBUS™ add-on board with NXP’s MPR121 proximity capacitive touch sensor controller. It has seven plated holes for clamps which can be used to connect any – literally any – conductive object in order to use it as an input button to send an interrupt to the target board MCU.

[Learn More]

ADC 24 click

0

ADC 24 Click is a compact add-on board for high-speed analog to digital conversion. This board features the AD7490, a 12-bit, 16-channel successive approximation ADC from Analog Devices, optimized for efficient power usage with a consumption of just 2.5mA from a 5V supply while achieving up to 1MSPS throughput rates. The board features 16 single-ended analog inputs with a configurable input range, supported by a channel sequencer for sequential channel conversion and multiple operational modes for flexible power management. This makes ADC 24 Click ideal for extensive system monitoring applications such as multichannel system monitoring, power line monitoring, data acquisition, instrumentation, and process control, serving various industrial and tech applications.

[Learn More]