TOP Contributors

  1. MIKROE (2662 codes)
  2. Alcides Ramos (357 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 (137029 times)
  2. FAT32 Library (70154 times)
  3. Network Ethernet Library (56032 times)
  4. USB Device Library (46355 times)
  5. Network WiFi Library (41970 times)
  6. FT800 Library (41298 times)
  7. GSM click (29072 times)
  8. mikroSDK (26509 times)
  9. PID Library (26452 times)
  10. microSD click (25439 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

RTC 5 click

1

RTC5 click carries MCP79510, a real-time clock/calendar with an SPI interface (mikroBUS MISO, MOSI, SCK and CS pins); along with a programmable interrupt for system output.

[Learn More]

6DOF IMU 11 click

5

The 6DOF IMU 11 click is a Click board based on the KMX63, a 6 Degrees-of-Freedom inertial sensor system on a single, silicon chip, which is designed to strike a balance between current consumption and noise performance with excellent bias stability over temperature.

[Learn More]

NFC 3 click

0

NFC 3 Click is a compact add-on board that contains an NFC transceiver for contactless communication at 13.56MHz. This board features the PN5180A0HN, a highly integrated high-performance full NFC Forum-compliant frontend from NXP Semiconductors. The PN5180A0HN utilizes an outstanding modulation and demodulation concept for different contactless communication methods and protocols. It is fully compliant with many Reader/Writer standards (ISO 14443A/B, ISO 15693, ISO 18092, and more), alongside support for reading all NFC tag types (type 1, 2, 3, 4A, and 4B). Besides the SPI host interface, it also features high RF output power to drive an antenna etched on the PCB directly, besides its tuning circuit, at high efficiency.

[Learn More]