Jump to content
  • 0

OLED Display APIs with different pinout


Roberto!

Question

Hello,

I wired my OLED Display PMOD control pins (VDDC, VBATC, RES, and D/C) to different pins than used on the Basic IO Shield. I would still like to use the IOShieldOled APIs in my code, and just redefine what physical pins these nets are pointing to. Where can I find this header file? I don't see it in my <IOShieldOled.h> or general uC32 <Board_Defs.h> header files. 

If I can find where the IOShieldOled.begin() is written, I can copy it with my pin number modifications (for proper power on sequence), but can't seem to find this file. Where are these saved?

Thanks.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi Roberto,

The iIOShieldOledClass::begin is in the IOShieldOled.h which calls OledInit(); which is in OledDriver.c in the utilities. OledInit() calls OledHostInit();  OledDvrInit(); OledDevInit(); and OledClear();.   I believe the board definitions are in the OledHostInit(); Hope this helps!

cheers,

Jon

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...