-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
24 lines (18 loc) · 1021 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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