TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 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 (137082 times)
  2. FAT32 Library (70223 times)
  3. Network Ethernet Library (56095 times)
  4. USB Device Library (46418 times)
  5. Network WiFi Library (42034 times)
  6. FT800 Library (41378 times)
  7. GSM click (29109 times)
  8. mikroSDK (26557 times)
  9. PID Library (26487 times)
  10. microSD click (25486 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: 4850 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

BT Audio 3 click

0

BT Audio 3 Click is a compact add-on board with high-performing voice and audio post-processing capability for Bluetooth audio applications. This board features the BM83, a fully certified Bluetooth v5.0 stereo audio module from Microchip. The BM83 contains an onboard Bluetooth stack and audio profiles and supports 24-bit/96 kHz high-resolution audio formats to enable high-fidelity wireless audio. An integrated Digital Signal Processor (DSP) decodes AAC and SBC codecs and executes advanced audio and voice processing such as Wide-Band (WB) speech, Acoustic Echo Cancellation (AEC), and Noise Reduction (NR). Configured in Host mode, the BM83 allows data processing via the UART interface, and in addition, comes with many additional features such as audio control buttons, onboard microphones, LED indicators, and more.

[Learn More]

I2C Isolator 5 click

0

I2C Isolator 5 Click is a compact add-on board that offers completely isolated bidirectional communication. This board features ISO1644, a hot-swappable bidirectional I2C isolator with enhanced EMC and GPIOs from Texas Instruments. The ISO1644 provides two bidirectional channels, supporting a completely isolated I2C interface that eliminates the need for splitting I2C signals into separate transmit and receive signals for use with standalone optocouplers.

[Learn More]

UART MUX 4 click

0

UART MUX 4 Click is a compact add-on board that switches the UART pins (RX and TX) from the mikroBUS™ socket to one of the two available outputs. This board features the 74HC4066D, a quad single-pole, single-throw analog switch from Nexperia. The UART MUX 4 Click allows you to switch from one multiplexed UART to another easily, but not both simultaneously.

[Learn More]