TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (348 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 (136229 times)
  2. FAT32 Library (69498 times)
  3. Network Ethernet Library (55712 times)
  4. USB Device Library (45997 times)
  5. Network WiFi Library (41640 times)
  6. FT800 Library (40804 times)
  7. GSM click (28789 times)
  8. PID Library (26333 times)
  9. mikroSDK (26061 times)
  10. microSD click (25148 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

I2C Library for Newhaven Display Serial LCD Modules

Rating:

4

Author: Jim Walsh

Last Updated: 2017-05-02

Package Version: 2.2.0.1

Category: Graphics & LCD

Downloaded: 2885 times

Followed by: 2 users

License: MIT license  

A collection of functions that handle I2C communications with Newhaven Display's PIC16F690 controlled LCD modules (model numbers ending in '-V3').

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "I2C Library for Newhaven Display Serial LCD Modules" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "I2C Library for Newhaven Display Serial LCD Modules" changes.

Do you want to report abuse regarding "I2C Library for Newhaven Display Serial LCD Modules".

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

Library Blog

These functions were designed to work with Newhaven Display's PIC16F690 controlled LCD modules.  They should work with any of the LCD's in the same series (model # ending in "-V3").

Changes in version 2.2
-----

Made some minor code fixes to address issues that came up when programs using the library were compiled with the case-sensitive mode turned on.

------
Added 1 new function:
⦁   StringSize - Returns the size of a string in characters. Although primarily for internal use, this function can also be called by a program using the library  just like any of the other functions.

-------

Library no longer has MikroE's C_String library as a dependency.   

Changes in version 2.1

-----
Added 2 new functions:
⦁    LCD_Number_Out - Displays a number on the LCD at a given position
⦁    LCD_Number_Out_CP - Displays a number on the LCD at the current cursor position.

These functions take a number (long int) as the parameter and handle the processing needed to convert the number into characters that can be displayed on the LCD.

Changes in version 2.0
-----
Fixed timing issue in the LCD_Brightness and LCD_Contrast functions that could cause characters to be dropped from the display
-----
Fixed bug in LCD_Display_On function that could cause a letter 'A' to be added to the display when the function was called
-----
Added 2 new functions:
⦁    LCD_Init  -  handles setting up the LCD and initializing the PIC I2C module
⦁    LCD_Change_I2C_Address - changes the I2C address of the LCD
-----
Added a help file
-----
There are now 2 constants that must be declared in your code for the library to work:
⦁    const unsigned short _I2C_ADDRESS   The I2C address of the LCD
⦁    const unsigned short _LCD_WIDTH     The column width of the LCD (usually 16 or 20)
-----
The column parameter now starts with the first column being indicated as '1' instead of '0'
This change could possibly affect any existing code that uses these functions:
LCD_Line_Out        LCD_Chr_Out        LCD_Set_Pos
 

ALSO FROM THIS AUTHOR

One-Wire Search Demo

5

A small example project (PIC18F45K22) that demonstrates using Maxim's search algorithm to find and identify any 1-wire devices connected to the bus. The demo program searches the bus and sends the ROM code of any devices it finds thru the UART port.

[Learn More]

U.S. State Capitals Game

5

A geography quiz game for EasyPIC v7 with touch panel GLCD module.

[Learn More]