Skip to content

Kudesnick/1.44inch-LCD-HAT-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1.44inch-LCD-HAT

Original instruction: https://www.waveshare.com/wiki/1.44inch_LCD_HAT Original code: https://www.waveshare.com/w/upload/f/fa/1.44inch-LCD-HAT-Code.7z

Tested on Raspberry Pi Zero W.

Python example

  1. Enable SPI interface:
# sed -i "s/#dtparam=spi=on/dtparam=spi=on/" "/boot/config.txt"
# reboot
  1. Install python packages:
# apt install python3-numpy
# pip install python3-pil
  1. Download code:
$ git clone https://github.com/kudesnick/1.44inch-LCD-HAT-Code.git
  1. Run test:
$ cd 1.44inch-LCD-HAT-Code/python/
$ python main.py

Device tree overlay

  1. dt overlay test:
$ cd 1.44inch-LCD-HAT-Code/dto/
# make install
# reboot
  1. run input-events
# input-events 0
  1. press any key on display board

About

corrected code from Waveshare for 1.44" display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published