TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 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 (136954 times)
  2. FAT32 Library (70069 times)
  3. Network Ethernet Library (56015 times)
  4. USB Device Library (46338 times)
  5. Network WiFi Library (41957 times)
  6. FT800 Library (41266 times)
  7. GSM click (29051 times)
  8. mikroSDK (26480 times)
  9. PID Library (26447 times)
  10. microSD click (25411 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: 2573 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

Programmable Relay Timers (PIC)

18

Build your own programmable timer relays using Ready for PIC, Keypad 4x4 board with EasyPull, RTC, Relay 4 and LCD 2x16 character display with adapter. Just load the demonstration project code and your device is ready to control 4 separate relays.

[Learn More]

Air quality 5 click

0

Air quality 5 click is a triple MOS sensor on a single Click board™, which can detect gas pollution for a number of different gases. The onboard sensor is specially designed to detect the pollution from automobile exhausts, as well as the gas pollution from the industrial or agricultural industry.

[Learn More]

Interrupts on PIC32MX460F512L

0

This example demonstrates how to setup:
- External INT2 interrupt on PORTE.9 pin
- UART RX event interrupt

[Learn More]