TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (393 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 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 (140567 times)
  2. FAT32 Library (73078 times)
  3. Network Ethernet Library (58080 times)
  4. USB Device Library (48251 times)
  5. Network WiFi Library (43842 times)
  6. FT800 Library (43330 times)
  7. GSM click (30367 times)
  8. mikroSDK (29012 times)
  9. PID Library (27121 times)
  10. microSD click (26743 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

7x10 G Click

Rating:

0

Author: MIKROE

Last Updated: 2024-10-31

Package Version: 2.1.0.15

mikroSDK Library: 2.0.0.0

Category: LED matrix

Downloaded: 216 times

Not followed.

License: MIT license  

7x10 G Click is a LED dot matrix display Click, which can be used to display graphics or letters in a very simple and easy way. The Click board has two LED dot matrix modules with 7x5 stylish, round, dot-like LED elements. These displays produce clean and uniform patterns since the elements are optically isolated from each other and there is no light bleeding between the adjacent LED cells. Additionally, turn-on and turn-off times of the matrix cells are optimized for a clean and fluid display performance, with no flickering or lag.

No Abuse Reported
  • mikroSDK Library 1.0.0.0
  • Comments (0)

mikroSDK Library Blog


7x10 G Click

7x10 G Click is a LED dot matrix display Click, which can be used to display graphics or letters in a very simple and easy way. The Click board has two LED dot matrix modules with 7x5 stylish, round, dot-like LED elements. These displays produce clean and uniform patterns since the elements are optically isolated from each other and there is no light bleeding between the adjacent LED cells. Additionally, turn-on and turn-off times of the matrix cells are optimized for a clean and fluid display performance, with no flickering or lag.

7x10g_click.png

Click Product page


Click library

  • Author : Jelena Milosavljevic
  • Date : Jun 2021.
  • Type : SPI type

Software Support

We provide a library for the c7x10G 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.

Library Description

This library contains API for c7x10G Click driver.

Standard key functions :

  • c7x10g_cfg_setup Config Object Initialization function.

    void c7x10g_cfg_setup ( c7x10g_cfg_t *cfg );
  • c7x10g_init Initialization function.

    c7x10g_return_value_t c7x10g_init ( c7x10g_t *ctx, c7x10g_cfg_t *cfg );

Example key functions :

  • c7x10g_draw_pixel Drawing the pixel on the display.

    void c7x10g_draw_pixel ( c7x10g_t *ctx, c7x10g_pixel_t *pixel, uint8_t mode, uint8_t px_delay );
  • c7x10g_draw_char Drawing the character on the display.

    void c7x10g_draw_char ( c7x10g_t *ctx, char ch, uint8_t pos, uint8_t ch_delay );
  • c7x10g_draw_number Drawing the number on the display.

    void c7x10g_draw_number ( c7x10g_t *ctx, uint8_t num, uint16_t num_delay );

Example Description

This demo example shows a drawing of pixels, characters and a number on the screen.

The demo application is composed of two sections :

Application Init

Configuring the Click board.


void application_init ( void ) {

    c7x10g_cfg_t c7x10g_cfg;  /**< Click config object. */

    //  Click initialization.

    c7x10g_cfg_setup( &c7x10g_cfg );
    C7X10G_MAP_MIKROBUS( c7x10g_cfg, MIKROBUS_1 );
    c7x10g_init( &c7x10g, &c7x10g_cfg );
}

Application Task

Draws characters, numbers, and pixels to the display.


void application_task ( void ) {

    c7x10g_pixel_t pixel;
    uint8_t cnt;
    uint8_t cnt_x;
    uint8_t cnt_y;

    // CHAR PROCEDURE
    for ( cnt = 'A'; cnt < 'Z'; cnt+=2 ) {

        c7x10g_draw_char( &c7x10g, cnt, C7X10G_DISPLAY_LEFT, C7X10G_DISPLAY_DELAY_50MS );
        c7x10g_draw_char( &c7x10g, cnt + 1, C7X10G_DISPLAY_RIGHT | C7X10G_DISPLAY_REFRESH, C7X10G_DISPLAY_DELAY_50MS );

        Delay_ms ( 1000 );
    }

    // COUNTER PROCEDURE
    for ( cnt = 0; cnt < 15; cnt++ ) {

        c7x10g_draw_number( &c7x10g, cnt, C7X10G_DISPLAY_DELAY_50MS );

        Delay_ms ( 500 );
    }

    // PIXELS PROCEDURE
    for ( cnt_x = 0; cnt_x <= 7; cnt_x++ ) {

        for ( cnt_y = 0; cnt_y <= 10; cnt_y++ ) {

            pixel.cord_x = cnt_x;
            pixel.cord_y = cnt_y;
            c7x10g_draw_pixel( &c7x10g, &pixel, C7X10G_DISPLAY_PIXEL_STORAGE, C7X10G_DISPLAY_DELAY_20MS );

            pixel.cord_x = cnt_x;
            pixel.cord_y = cnt_y + 1;
            c7x10g_draw_pixel( &c7x10g, &pixel, C7X10G_DISPLAY_PIXEL_REFRESH, C7X10G_DISPLAY_DELAY_20MS );
        }
    }
}

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:

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.7x10G

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.


ALSO FROM THIS AUTHOR

PMIC Click

0

PMIC Click is a compact add-on board for efficient power management in rechargeable applications. This board features the nPM1300, an advanced Power Management Integrated Circuit (PMIC) from Nordic Semiconductor, offering integrated battery charging and advanced system power management features. The board includes an 800mA JEITA-compliant linear battery charger, two 200mA buck regulators, and configurable load switches, all housed in a compact QFN32 package.

[Learn More]

PAC1921 Click

0

PAC1921 Click is a versatile power monitoring and measuring device intended for the high speed, low latency measurements. This device can measure current, voltage or the power of the connected load.

[Learn More]

LightRanger 11 Click

0

LightRanger 11 Click is a compact add-on board suitable for range-finding and distance-sensing applications. This board features the VL53L7CX, a time-of-flight 8x8 multizone ranging sensor from STMicroelectronics. It is a fast and accurate multizone distance-ranging sensor width of 90° wide FoV. The multizone-ranging output with either 4x4 or 8x8 separate zones, width multitarget detection, and distance measurement in each zone. As a multizone-ranging device, its range is only up to 350cm.

[Learn More]
Close menu