-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
what are the RESET pins for? especially OLED_I2C_RESET ?
OLED SSD1306 boards normally don't have a breakout pin for reset GPIOs,
and on the RPi GPIO pin bcm 25 (physical pin 22) is probably used for arbitrary purposes (conflicting!)
and why does the init() method require then to get passed the parameter OLED_I2C_RESET at all?
Why can't the parameter OLED_I2C_RESET in init() be dropped?
Or can one pass -1 for reset instead of OLED_I2C_RESET if there is no reset pin connected?
e.g.,
display.init(-1, opts.oled)
:?:
(edit: I tested passing -1, seems to work at first view, but not sure if failsafe though)
// Configuration Pin for ArduiPi board
#define OLED_SPI_RESET RPI_V2_GPIO_P1_22 /* GPIO 25 pin 22 */
//
#define OLED_I2C_RESET RPI_V2_GPIO_P1_22 /* GPIO 25 pin 12 */ //<<<<<<<< pin 22 ?! typo ?!
(just to mention, the latest comment
/* GPIO 25 pin 12 */
is probably faulty, should be "pin 22" instead, probably)
Metadata
Metadata
Assignees
Labels
No labels