TOP Contributors

  1. MIKROE (2752 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139062 times)
  2. FAT32 Library (71593 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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: 3069 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

mikromedia 7 for STM32F4

1

Set of examples for mikromedia 7 for STM32F4. Provided examples demonstrate working with mikromedia's various features and modules: Accelerometer, MMC SD card, MP3, TFT, Buzzer, nRF, Touch Panel, CAN, WiFi, RTCC, USB Host.

[Learn More]

BOOST Click

0

Boost Click provides an adjustable output voltage through the onboard DAC that drives the FB pin of the MIC2606 to set desired output voltage.

[Learn More]

Color 9 click

5

Color 9 Click is a very accurate color sensing Click board which features the APDS-9250, IR and ambient light sensor, from Broadcom. It contains a specially designed matrix of photosensitive elements, which can sense red, green, blue and IR component.

[Learn More]