You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output Screenshots, From left to right top to bottom.
@@ -59,25 +60,23 @@ Output Screenshots, From left to right top to bottom.
59
60
## Installation
60
61
61
62
62
-
1. Make sure SPI bus is enabled on your raspberry PI
63
-
64
-
2. Install the dependency bcm2835 Library if not installed (at time of writing latest version is 1.68.)
63
+
1. Install the dependency bcm2835 Library if not installed (at time of writing latest version is 1.73)
65
64
* The bcm2835 library is a dependency and provides SPI bus, delays and GPIO control.
66
65
* Install the C libraries of bcm2835, [Installation instructions here](http://www.airspayce.com/mikem/bcm2835/)
67
66
68
-
3. Download the ERM19264_UC1609_RPI library
67
+
2. Download the ERM19264_UC1609_RPI library
69
68
* Open a Terminal in a folder where you want to download,build & test library
70
69
* Run following command to download from github.
71
70
72
71
```sh
73
-
curl -sL https://github.com/gavinlyonsrepo/ERM19264_UC1609_RPI/archive/1.7.tar.gz | tar xz
72
+
curl -sL https://github.com/gavinlyonsrepo/ERM19264_UC1609_RPI/archive/1.7.1.tar.gz | tar xz
74
73
```
75
74
76
-
4. Run "make" to run the makefile to install library, it will be
75
+
3. Run "make" to run the makefile to install library, it will be
77
76
installed to usr/lib and usr/include
78
77
79
78
```sh
80
-
cd ERM19264_UC1609_RPI-1.7
79
+
cd ERM19264_UC1609_RPI-1.7.1
81
80
make
82
81
sudo make install
83
82
```
@@ -97,7 +96,9 @@ make run
97
96
```
98
97
99
98
2. There are seven examples files to try out.
100
-
To decide which one the makefile builds simply edit "SRC" variable at top of the makefile in examples folder. In the "User SRC directory Option Section". Pick an example "SRC" directory path and ONE ONLY. Comment out the rest and repeat step 1.
99
+
To decide which one the makefile builds simply edit "SRC" variable at top of the makefile in examples folder.
100
+
In the "User SRC directory Option Section". Pick an example "SRC" directory path and ONE ONLY.
101
+
Comment out the rest and repeat step 1.
101
102
102
103
103
104
## Hardware
@@ -112,18 +113,23 @@ There are 3 different colours in range, Parts used purchased from [ebay](https:/
112
113
2. ERM19264FS-5 V3 LCD Display UC1609C controller , black on white
113
114
3. ERM19264DNS-5 V3 LCD Display UC1609C controller white on black
114
115
115
-
The UC1609 controller chip is a 3.3V device but the ERM LCD module has a "662k" 3.3V regulator at back.
116
-
So the ERM LCD module will run at 5V as well if this is present.
117
-
It was always run it at 3.3V during testing.
118
-
116
+
Wiring Diagram from supplier showing connection to RPI.
Hardware and software SPI. Two different class constructors. User can pick the relevant constructor, see examples files. Hardware SPI is recommended, far faster and more reliable but Software SPI allows for more flexible GPIO selection. When running Software SPI it may be necessary on very high frequency MCU's to change the UC1609_HIGHFREQ_DELAY define, It is a microsecond delay by default it is at 0.
129
+
Hardware and software SPI. Two different class constructors. User can pick the relevant constructor,
130
+
see examples files. Hardware SPI is recommended, far faster and more reliable but Software SPI allows
131
+
for more flexible GPIO selection. When running Software SPI it may be necessary on very high
132
+
frequency MCU's to change the LCD_HighFreqDelaySet method, It is a microsecond delay by default it is at 0.
127
133
128
134
The SPI settings are in LCDSPIon function.
129
135
Speed is currently at BCM2835_SPI_CLOCK_DIVIDER_64.
@@ -166,7 +172,6 @@ The glyph-fonts use 3 special functions: setFontGlyph drawCharGlyph drawTextGlyp
166
172
They cannot currently use the print class, also cannot be inverted.
167
173
Inverting only works with the standard fonts because the characters are a uniform size. It's not a sensible thing to do with proportionally-spaced fonts with glyphs of varying sizes and that may overlap.
168
174
169
-
170
175
### Bitmaps
171
176
172
177
There is a few different ways of displaying bitmaps,
@@ -203,9 +208,3 @@ It is also possible for user to change LCD bias , Temperature coefficient, fram
203
208
204
209
## Notes and Issues
205
210
206
-
### Compilation problems
207
-
208
-
Note the toolchain used in overview section, If you have trouble compiling on other
209
-
platforms or OS. For example 64-bit OS, user may need to remove or edit
210
-
some of the CCFLAGS in root directory Makefile to allow for Compilation, if you see them throwing errors
211
-
See [pull request on SSD1306 project](https://github.com/gavinlyonsrepo/SSD1306_OLED_RPI/pull/2) for details
0 commit comments