TOP Contributors

  1. MIKROE (2760 codes)
  2. Alcides Ramos (374 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 (139223 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28038 times)
  9. PID Library (26881 times)
  10. microSD click (26196 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

LCD

Rating:

11

Author: dany

Last Updated: 2016-02-18

Package Version: 2.0.0.0

Category: LCD

Downloaded: 10278 times

Followed by: 3 users

License: MIT license  

* 2 (alternative) libs to drive LCD's (4 bits connections):
- One lib specific for 2x16,
- one more generic (upto 4 rows, 16-20 chars per row).
* A library to drive LCD via I2c (PCF2116 based, 1 to 4 rows, 12 or 24 chars per row
* A library to drive standard LCD's via I2c
* A library to drive standard LCD's via SPI.

No Abuse Reported

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

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

Do you want to report abuse regarding "LCD".

  • Information
  • Comments (4)

Library Blog

LCD Libraries:

* 2 (alternative) libs to drive LCD's (4 bits connections). Both provide also a harware reset possibility for the LCD. For LCDs with the HD44780, KS0066U or equivalent controller (the same type of LCD the MikroPascal LCD library is for).

- LCD_4bits (only for P16 and P18): A generic lib for LCD's with upto 4 rows, 16-20 chars per row.

- LCD1602_4bits (only for P16 and P18): A specific lib specific for 2x16 LCD's


* 2 libraries for I2c control of the LCD:

- LCD_I2c for LCD's with the PCF2116 controller. (for P16, P18, PIC24 and dsPIC): A library to drive LCD via I2c (1 to 4 rows, 12 or 24 chars per row -not all combinations are possible, see the PCF2116 datasheet-).

- LCD_I2c_PCF8574: A library to drive standard LCD's via the I2c interface (PCF8574 expander used).


* 1 library for SPI control of the LCD:

- LCD_SPI_74HC595: a library to drive standard LCD's via the SPI interface (74HC595 or 74HCT595 expander/shift register used).


The zipfiles have the same content as the packages.

Have Fun!

-----------------------------------------------------------------------------------------------------------------------------------------------
2012-11-12: The microBasic package(s) ha(s)(ve) been added.

Only the .mcl files are available as "library" files: they are copied from the mikroPascal version (the mP and mB .mcl files are compatible - luckely - ).

If you want to see some sources: look into the mP versions.

The example files are still in mP, not in mB. (I do not have an mB licence, so I can not compile them).

Some of the helpfiles are also still referring to mP, but all library "interfaces" are available in the mB language.

-----------------------------------------------------------------------------------------------------------------------------------------------
2013-01-26:  Replaced "Delay_ms" and "Delay_us" by routines available in the Delays lib.
"Delay_ms" and "Delay_us" are inline routines and cannot be used in libraries if they are to be used without source (e.g. non Pascal compilers).

========================================================================

2013-03-01: Added the LCD I2c library for the PCF2116.

This library is also made available for PIC24 and dsPIC, both mikroPascal and MikroBasic.

----------------------------------------------------------------------------------------------------------------------------------------------

2013-03-03: Extended the LCD I2c library for the PCF2116: Added:

- the possibility to use a dual (+ and-) power supply

- the possibility to fill programmable characters from a constant array or from a string.

========================================================================

2013-03-12: Added the LCD_I2c_PCF8574 library: drives a standard LCD (parallel interface) via an I2c expander (PCF8574). Saves a lot of output lines from the PIC, and makes an LCD also possible on PIC's with low pincount.

Connection diagram without LCD reset

Connection diagram without LCD reset

Connection diagram

View full image
Connection diagram with LCD reset

Connection diagram with LCD reset

Connection diagram.

View full image

-----------------------------------------------------------------------------------------------------------------------------------------------

2013-03-21: removed an omission in the example for the LCD_I2c_PCF8574 library: the call to "Soft_I2c_Init" was forgotten (still, it worked!).

=======================================================================

2013-03-28: v 2.0 of the package: LCD via SPI expander (74HC595 or 74HCT595) added

Added the library "LCD_SPI_74HC595" to drive standard LCD's (with HD44780 or KS0066U compliant controllers) via an 74HC(T)595 SPI output port expander.

Connection diagram LCD SPI without LCD reset

Connection diagram LCD SPI without LCD reset

Connection diagram

View full image
Connection diagram LCD SPI with LCD reset

Connection diagram LCD SPI with LCD reset

Connection diagram with LCD reset. In this case the notMR pin (pin 10) of the 74HC(T)595 may also be connected to the collector (c) of the bc557 transistor (= Vcc pin of the LCD) in stead of the 100nF/10K network.

View full image

----------------------------------------------------------------------------------------------------------------------------------------

2014-03-13: The mikroBasic files and zip files have been updated. All mB sources are present now (not tested if compilable though).


2015-01-26: Replaced the mB files: all mB files are compilable now (which e.g. means that all "with" statements are dealt with). I could however not link and test the libraries (no mB licence).

ALSO FROM THIS AUTHOR

RTCC_PIC32

5

RTCC library for the PIC32 family

[Learn More]

USB_NA

24

USB libraries, new architecture. Permits composite USB devices (possibilities: HID, CDC and MSD). -- for P18's or P24's with USB --
Version 1.1: Modified so that (changes to) values in "UsbProjectItems" like PID and VID are actually visible in the executable.

[Learn More]

Rotary Encoder

5

Simple timer interrupt based Rotary Encoder decoding library.

[Learn More]