TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (403 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (130 codes)
  5. Bugz Bensce (97 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 (140886 times)
  2. FAT32 Library (73482 times)
  3. Network Ethernet Library (58268 times)
  4. USB Device Library (48465 times)
  5. Network WiFi Library (44077 times)
  6. FT800 Library (43631 times)
  7. GSM click (30522 times)
  8. mikroSDK (29252 times)
  9. PID Library (27196 times)
  10. microSD click (26888 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

Full LCD library set

Rating:

11

Author: Istvan K

Last Updated: 2016-02-19

Package Version: 3.0.0.0

Category: LCD

Downloaded: 3051 times

Followed by: 3 users

License: MIT license  

Same way usable (uniformized) LCD libraries. 4- and 8-bit (and both with Busy-flag checking), 1-, 2- and 3-wire interface. Every library allows you to manage 4 LCD. For all 8-bit PIC (p16, p16e and p18).

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Full LCD library set" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Full LCD library set" changes.

Do you want to report abuse regarding "Full LCD library set".

  • Information
  • Comments (5)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

Demo project

Demo project

1-, 2- and 3-wire interface

View full image

This is the third part of my new library collection (the already published parts are the "Bargraph",
"PS2 Keyboard Simulator" and the "Common output functions").

Same way usable (uniformized) LCD libraries. Every precompiled lib allows you to manage
up to four HD44780 compliant LCD. For all 8-bit PIC.

"..Lcd" prefix is used to distinct the type of the interface:
           where ".." may be: (none) B w3 w2 w1 N8 B8 (eg p16e_w2Lcd-4.mcl)

1.      Lcd ...... the usual nybble (4-bit) interface (most used)
2.   BLcd .....  the same but with Busy flag checking (faster)

       using HC595 as a port expander (3 separated libraries):

3. w3Lcd ..... 3-wire interface
4. w2Lcd ..... 2-wire
5. w1Lcd ..... 1-wire

6. N8Lcd ..... the normal full (8-bit) interface (smallest code)
7. B8Lcd ..... the same but with Busy flag checking

So there are seven different library (sum 7 * 3 = 21 "p*_....-4.mcl" file, in
accordance of the three different PIC family; p* = p16, p16e or p18).

Every library contains 6 'fundamental' functions for the four (0...3) LCD:
    Init - WriteChar - Command - UserChar - GotoYX - GotoYX_16x4
using a specific, library-dependent prefix (eg w1LcdX_Init, where X = 0..3)

In addition, they contain the 12 'common output' functions for the ..Lcd0:
   CstrOut - CstrNout - RstrOut - RstrNout - Hex2out - Hex4out
   BcdOut - Dec2out - Dec2out_J - Dec3out_J - Dec4out_J - Dec5out_J

Detailed description in the "LCD-libs_DOC.H".
A demo project is included to show the 1-, 2- and 3-wire interface circuits.

ALSO FROM THIS AUTHOR

Common output functions

6

Second part of my new library collection: the common output functions, using func-pointers or a user written char-out routine. In addition, an other library with the mikroC UART1 and LCD char-outs. For all 8-bit PICs.

[Learn More]

PC keyboard in Proteus

1

* UPDATED * To try/debug (before the construction, in Proteus) such PIC programs that use the MikroC PS2 Library, here is a solution. It uses the Proteus Virtual Terminal as input device. * UPDATED * Now for any PIC *

[Learn More]

LCD BarGraph library

6

Contains an all-in-one function which allows to create parameterized LCD bargraph(s). 8 variants, 'unlimited' width. For any pic12/16, pic12/16_enhanced and pic18.

[Learn More]