7x10 G Click Board
7x10 G Click Board
The 7x10 G Click Board™ can be used for displaying letters on a display with 7x5 font resolution. It carries a matrix of 70 green LEDs driven by a pair of 8-bit serial-in, parallel-out shift registers, a Darlington Transistor array and a Johnson counter.7x10 G Click Board™ is designed to run on either a 3.3V or 5V power supply.
It communicates with the target microcontroller over the SPI interface, with additional functionality provided by the following pins on the MikroBUSline: AN, PWM, RST.
Software Support
We provide a library for the 7x10 G Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo application can run on all the main MikroElektronika development boards.
Note: You can use our free supporting software - GLCD Font Creator, and make personalized fonts, symbols, and icons for the LED matrix onboard the click. Create fonts and symbols from scratch, or by importing existing fonts on your system. It lets you modify and adjust them for your needs, apply effects and finally export them as source code for use in mikroC, mikroBasic or mikroPascal compilers.
Library Description
The library carries all functions necessary for complete control over the 7x10 G Click Board™. There is also an additional font header file which carries 5x7 letter definitions.
Key functions
bool c7x10g_refreshDisplay( void )
- Refreshes the display; this function should be called upon as frequently as possible.void c7x10g_drawPixel( uint8_t row, uint8_t col )
- Draws single pixel on the desired location.
void c7x10g_drawText( char *text )
- Writes the text; The first character is placed on the first LED matrix, and the second one is placed on the second LED matrix (if a there is more than one character).
The example also carries additional functions for GPIO control which are provided during driver initialization. These functions are necessary and the implementation depends on the type of development system that is used.
Examples Description
The application is composed of three sections :
- System Initialization - Initializes GPIO and SPI peripheral
- Application Initialization - Default driver initialization
- Application Task - (code snippet) a demonstration of the main functions of the library. First, the text "MikroElektronika" is scrolled, then the countdown from 0 to 30. And finally random lighting up of the LEDs - using the function
c7x10g_drawPixel
.void applicationTask() { bool ind; static bool called = false; int i, j; c7x10g_clearDisplay(); if ( !called ) { c7x10g_drawText( " Mikro Elektronika" ); c7x10g_scrollEnable( _C7X10G_SPEED_MED ); called = true; } do { ind = c7x10g_refreshDisplay(); c7x10g_tick(); Delay_ms( 10 ); } while( ind ); called = false; for( i = 0; i < 11; ++i ) { c7x10g_clearDisplay(); c7x10g_drawNumber( i ); for( j = 0; j < 30; ++j ) { c7x10g_refreshDisplay(); Delay_ms( 10 ); } } // draws a few pixels c7x10g_clearDisplay(); c7x10g_drawPixel( 6, 3 ); c7x10g_drawPixel( 6, 8 ); c7x10g_drawPixel( 2, 3 ); c7x10g_drawPixel( 2, 8 ); for( j = 0; j < 100; ++j ) { c7x10g_refreshDisplay(); Delay_ms( 10 ); } }
The full application code and libraries are available for download on our LibStock page.
MIKROSDK
The 7x10 G Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
7x10 G Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.