TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 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 (136549 times)
  2. FAT32 Library (69743 times)
  3. Network Ethernet Library (55847 times)
  4. USB Device Library (46184 times)
  5. Network WiFi Library (41803 times)
  6. FT800 Library (40993 times)
  7. GSM click (28926 times)
  8. PID Library (26385 times)
  9. mikroSDK (26288 times)
  10. microSD click (25301 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
Library

uGLCD library optimized for PIC18 processors

Rating:

5

Author: janni

Last Updated: 2021-04-22

Package Version: 0.0.9.0

Category: GLCD

Downloaded: 2961 times

Followed by: 7 users

License: MIT license  

uGLCD is a quite extensive library optimised for PIC18 processors. It may work with different GLCD types with screen memory organised in horizontal 'pages' (8 pixels high), like those with KS107/8, ST7565R, or uC1701 controllers. Thanks to the ability to draw on virtual screen, the library may be used with write-only displays.

Abuse Reported

Do you want to subscribe in order to receive notifications regarding "uGLCD library optimized for PIC18 processors " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "uGLCD library optimized for PIC18 processors " changes.

Do you want to report abuse regarding "uGLCD library optimized for PIC18 processors ".

  • Information
  • Comments (12)

Library Blog

Library description

uGLCD is a rather extensive library optimised for PIC18 processors. It may work with different GLCD types with screen memory organised in horizontal 'pages' (8 pixels high), like those with KS107/8, ST7565R, or uC1701 controllers, to name only those it was tested with. Thanks to the ability to draw on virtual screen, the library may be used with write-only displays.  

Basic properties:    

- both text and graphics may be drawn anywhere on the screen,    

- ability to draw on virtual screen placed in RAM,    

- 'packed' bitmap format implemented saving ROM space,    

- clipping rectangle for most graphical functions,    

- routines for copying whole, or part of the screen from GLCD to RAM and back,   

- routines for icon drawing (icons from RAM or ROM), inverting, and horizontal shifting,    

- both fixed-width and variable-width fonts of any size (created, for example with GLCD Font Creator) may be used,   

- increased speed performance over the standard lib, especially visible for higher clock frequencies,   

- hardware-dependent part is separate and may be modified to fit particular GLCD controller.

Main (precompiled) library is separate from hardware dependent part. The latter contains all low-level functions for communication with specific GLCD. It is therefore possible to write/modify it for specific GLCD controller and its communication interface. The library draws text and graphics on GLCD screen using coordinates x (0..GLCDmaxX) and y (0..GLCDmaxY), where (0,0) corresponds to left-top display corner, and GLCDmaxX, GLCDmaxY are constants declared in the hardware-dependent library part.

Two programs for PC (Bitmap2Array, uGLCDfonts) are included in the archive. First one allows to convert screen or icon bitmaps to constant arrays with a possibility of compression to save memory. Second one modifies font files prepared with mE's GLCD Font Creator to a format used by uGLCD library.  

Library installation

uGLCD library and fonts library are packed into installation files using Package Manager, so their installation/deinstallation is straightforward with the same program. Just follow the instructions from Help of Package Manager, and the libraries will be installed in Packages subdirectory of compiler installation directory and available for those PIC18 processors that you chose during installation (naturally, one may choose all PIC18s). Elements of the library (main lib, hardware units, and fonts) will be visible in the Library Manager for every chosen processor. Work with the library follows the same rules as with other libraries.

Updates

06.07.2014 - Help file has been modified to make full use of conextual help that started working with version 6.40 of compilers. A double-click on an uGLCD routine in Library Manager opens now the library help file at appropriate topic.  

ALSO FROM THIS AUTHOR

Replacement libraries for PIC18 &amp; P16enh processors (mP and mB PRO)

5

Replacement libs may supplant official mE libraries to decrease final code size and RAM use, increase speed of code execution and fix various quirks. Most of replacement libraries also add new functionality. Replacement libs cover the most substantial areas of coding and thus improve performance of other libraries that use the replaced ones.

[Learn More]