05-03-2018, 01:04 PM
(05-03-2018, 12:56 PM)mancio61 Wrote: Yes, I've already red it... but , seeing the schema below, it seems that I have to modify the code consequently
---OLED Display---| |---Raspberry Pi---|
| Pin Description | | Pin Description |
1 Vss (GND) <----> 6 GND
2 VDD (+5.0V) <----> 2 +5.0V
3 nc
4 RS <------------> 26 GPIO 7
5 R/W <------------> 6 GND
6 E <------------> 24 GPIO8
7 DB0
8 DB1
9 DB2
10 DB3
11 DB4 <------------> 22 GPIO25
12 DB5 <------------> 18 GPIO24
13 DB6 <------------> 16 GPIO23
14 DB7 <------------> 10 GPIO15
So...
OLED_DB4=25
OLED_DB5=24
OLED_DB6=23
OLED_DB7=15 (in the original code is 27 !!!)
OLED_RS=7
OLED_E=8
Correct?
If you use and install their scripts all is already done. You have to do nothing
<marquee behavior="alternate" scrolldelay=150
~~~~>>>Please always follow rules and read before you post<<<~~~~
</marquee>
~~~~>>>Please always follow rules and read before you post<<<~~~~
</marquee>