Skip to content

bitbank2/nokia5110

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOKIA5110 is a simple C library for working with the Nokia 84x48 LCD display
when connected to the SPI bus.
The idea is to provide a simple interface for C programmers to make use of 
those low-cost LCD displays without having to read the data sheet or figure
out SPI programming. Unfortunately the display controller needs a couple of
control lines (GPIO pins) for Reset and Data/Command; this requires extra work.
In this case, I use my ArmbianIO library (https://github.com/bitbank2/ArmbianIO)

To build the library, simply type 'make' in the terminal. To build the sample
app, type 'make -f make_sample'. This will build the n5110 executable to show
that the library is working.

Troubleshooting tips:

1) Make sure to enable the SPI interface
2) Connect the "CE" pin of the 5110 to the CE0 pin on the header.
3) You can use any GPIO pins to control the D/C,RST/LED lines; initialize the
   5110 library with the pin numbers used (not GPIO numbers)

Written by Larry Bank
Project started 4/6/2017
bitbank@pobox.com

About

A simple C library (Linux + Arduino) to talk to Nokia 5110 LCD displays

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published