Yes, I'm sure that it's te same and the the RaspDAC code fit well. My question is about that code. You can see a difference between what's written in the comment block above ( the one with te five columns...) and the piece of code where the OLEDxxx constants are set .
Example:
In the comment block, the function RS (Pin 4 on the OLED display), seems to be wired to GPIO 25 (physical pin 22) on the RPI
# OLED PN | FUNCT | GPIO | RP1 pin | Audiophonics pin
# 4 RS 25 22 26
In the code instead, it's written OLED_RS=7, and then, later in the code, ... GPIO.Setup(OLED_RS, GPIO.OUT, initial=GPIO:LOW)
So.. .which one is the correct pin to connect?
Example:
In the comment block, the function RS (Pin 4 on the OLED display), seems to be wired to GPIO 25 (physical pin 22) on the RPI
# OLED PN | FUNCT | GPIO | RP1 pin | Audiophonics pin
# 4 RS 25 22 26
In the code instead, it's written OLED_RS=7, and then, later in the code, ... GPIO.Setup(OLED_RS, GPIO.OUT, initial=GPIO:LOW)
So.. .which one is the correct pin to connect?