Skip to content

Ajaykumar-Kanojiya/glcd-jhd128x64e-ks0108

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

GLCD_JHD128x64E

A simple library for JHD128x64E GLCD, This library is used to drive JHD128x64E GLCD which has 2 KS0108 Chips, This library can display all Alphabets in English language both CAPS and small, numbers from 0 to 9 and standard special characters.

Datasheet of JHD128X64E GLCD

Screenshot (9)

Installation

To install the library just type:

pip install glcd-jhd128x64e

Hardware support

  • Supports only Raspberry Pi GPIO pins

Limitations:

  • Cannot display any kind of images
  • Does not support devices other that JHD128X64E GLCD
  • No scroll option available
  • Can only be used for Raspberry Pi

Usage Examples

  • Pinmap
GLCD = glcd_jhd128x64e.KS0108(rs=4, rw=7, en=8, d0=9, d1=10, d2=11, d3=14, d4=15, d5=17, d6=18, d7=25, chip_set0=22, chip_set1=23, reset=24)

Here the pin numbers can be changed on user's convenience

In this program a string and a character is displayed on the GLCD continuously starting chip 0, line 0 and cursor 0

import glcd_jhd128x64e    

      
def main():
    GLCD = glcd_jhd128x64e.KS0108(rs=4, rw=7, en=8, d0=9, d1=10, d2=11, d3=14, d4=15, d5=17, d6=18, d7=25, chip_set0=22, chip_set1=23,
                  reset=24)
    GLCD.start()
    GLCD.set_cursor(0, 0, 0)
    GLCD.print_str("Hello! How are you")
    GLCD.print_chr("?")
        
            
if __name__ == "__main__":
    main()

Main references

About

A library for JHD128X64E GLCD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%