TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 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 (136707 times)
  2. FAT32 Library (69917 times)
  3. Network Ethernet Library (55930 times)
  4. USB Device Library (46255 times)
  5. Network WiFi Library (41883 times)
  6. FT800 Library (41144 times)
  7. GSM click (28978 times)
  8. PID Library (26407 times)
  9. mikroSDK (26355 times)
  10. microSD click (25351 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

LCD Mono click

Rating:

5

Author: MIKROE

Last Updated: 2019-10-23

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: LCD

Downloaded: 2542 times

Not followed.

License: MIT license  

LCD Mono Click is a Click boardâ„¢ that uses the LS013B7DH03 LCD display from Sharp which combined with the EFM32, from Silicon Labs, and its energy saving capabilities creates a powerful display application.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "LCD Mono click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "LCD Mono click" changes.

Do you want to report abuse regarding "LCD Mono 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 dsPIC30/33 & PIC24
  • 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

LCD Mono click

LCD Mono click

Native view of the LCD Mono click board.

View full image
LCD Mono click

LCD Mono click

Front and back view of the LCD Mono click board.

View full image

Library Description

The library initializes and defines the SPI bus driver and drivers that offer a choice for writing data. The library includes function for displays image or frame, draw text on the screen and function for settings font.

Key functions:

  • void lcdmono_draw_const_frame ( const uint8_t *frame_data ) - Displays draw const frame
  • void lcdmono_draw_text ( char *text_buf, lcdmono_text_settings_t *cfg , uint8_t end_mode) - Draw text on the screen
  • void lcdmono_set_font ( const uint8_t *font ) - Set font
  • void lcdmono_display_reset ( void ) - Reset procedure

Examples description

The application is composed of three sections :

  • System Initialization - Initialization SPI modules and all necessary GPIO pins
  • Application Initialization - Driver initialization - Starting LCD Mono display. Print text to the display by changing font size
  • Application Task - Drawing an image to the display every 3 second.
void applicationTask (  )
{
    lcdmono_draw_const_frame( &demo_img_mikroe_light[ 0 ] );
    Delay_ms( 3000 );
    lcdmono_draw_const_frame( &demo_img_mikroe[ 0 ] );
    Delay_ms( 3000 );
    lcdmono_draw_const_frame( &demo_img_logo_light[ 0 ] );
    Delay_ms( 3000 );
    lcdmono_draw_const_frame( &demo_img_logo[ 0 ] );
    Delay_ms( 3000 );
}


Create Image: Save the image in resolution of 128x128 px with the extension (monochrome bmp) ... Upload the image to Image2Lcd program Set parameters to:

  • Output file type : C array
  • Scan Mode : Horisontal scan
  • Bits Pixel : monochrome
  • Max width and height : 128x128
  • Check only MSB first
  • Check Reverse color and adjust Normal type

The image to be generated should contain about 2048 bytes ... Insert the image into the file Click_LCD_Mono_image.h

Create Font: Close existing project, open a new VTFT project Add label and adjust text font Generate source code Copy the font from resource.c file to this project in file Click_LCD_Mono_font.h

Other mikroE Libraries used in the example:

  • SPI
  • UART

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB 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

NDIR CO2 click

5

NDIR CO2 click is an advanced integrated CO2 gas sensor system, which is able to measure an absolute CO2 concentration, by utilizing the CDM7160 integrated sensor.

[Learn More]

microSD click

8

This project consists of several blocks that demonstrate various aspects of usage of the MMC_Fat16 library.

[Learn More]

Opto 2 click

0

Opto 2 click is a galvanic isolator Click board™, used to provide an optical isolation of sensitive microcontroller (MCU) pins, when operated by external signals.

[Learn More]