i was trying to use Gpio pins 30 and 31 (P2_5 and P2_7).
this is what would need to happen:
"Power ON sequence:
1. Power ON VDD (= 3.3v)
2. After 3.3v become stable, set RES# pin LOW (logic low) for at least 3us and then HIGH (logic
high).
3. After set RES# pin LOW (logic low), wait for at least 3us. Then Power ON VCC.(= 12v)
4. After 12V become stable, send command AFh for display ON.
SEG/COM will be ON after 100ms."
so ideally, i'd start off with ResetPin high and 12vPin low.
pull reset pin Low, then High again.
pull 12vPin high.
the 'Display On' command is in the display_Init_seq()., so i need to toggle those pins before that happens.
i just tried only writing both of them LOW, but they both remain at 3.3V.
so i'm not controlling them at all, as it is.
i added #include <Gpio.h>
in render.cpp.
i addedGpio gResetGpio;
int gResetPin = 31;
Gpio g12VGpio;
int g12VPin = 30;
underneath the extern "C" at line 45
and i have this: // hopefully set up pin P2_7 for reset of display
gResetGpio.open(gResetPin, Gpio::OUTPUT);
g12VGpio.open(g12VPin, Gpio::OUTPUT);
gResetGpio.write(0);
g12VGpio.write(0);
usleep(1000000);
gResetGpio.write(0);
printf("try turning on 12v now?\n");
usleep(10000000);
g12VGpio.write(0);
there for now, i was trying to use the repeat lines of write(0) to toggle them HIGH, obviously.