chipKIT® Development Platform

Inspired by Arduino™

Max32 With I/O Shield OLED

Created Fri, 06 Jul 2012 12:50:06 +0000 by Gromak123


Gromak123

Fri, 06 Jul 2012 12:50:06 +0000

Hello, sorry for my bad English but I will try to make me understand ^ ^

How have you managed to do are running the OLED screen of the I / O SHIELD with the Chipkit MAX32? because when I run the upload of the example I have a lot of error, look at this:

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledHostInit':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:233:4: error: #error "No Supported Board Defined"

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:236:14: error: 'prtDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:236:14: note: each undeclared identifier is reported only once for each function it appears in

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:236:26: error: 'bitDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:237:14: error: 'prtVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:237:26: error: 'bitVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:238:14: error: 'prtVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:238:27: error: 'bitVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:247:14: error: 'prtReset' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:247:24: error: 'bitReset' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledHostTerm':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:274:14: error: 'prtDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:274:26: error: 'bitDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:276:14: error: 'prtReset' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:276:24: error: 'bitReset' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:282:14: error: 'prtVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:282:26: error: 'bitVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:283:14: error: 'prtVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:283:27: error: 'bitVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledDevInit':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:373:16: error: 'prtDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:373:28: error: 'bitDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:377:16: error: 'prtVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:377:28: error: 'bitVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:386:16: error: 'prtReset' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:386:26: error: 'bitReset' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:400:16: error: 'prtVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:400:29: error: 'bitVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledDevTerm':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:445:14: error: 'prtVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:445:27: error: 'bitVbatCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:450:16: error: 'prtVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:450:28: error: 'bitVddCtrl' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledDisplayOn':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:476:16: error: 'prtDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:476:28: error: 'bitDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledDisplayOff':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:502:16: error: 'prtDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:502:28: error: 'bitDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c: In function 'OledUpdate':

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:592:17: error: 'prtDataCmd' undeclared (first use in this function)

C:\Users\jorand.leo\Desktop\mpide-0023-windows-20111221\mpide-0023-windows-20111221\.\hardware\pic32\libraries\IOShieldOled\utility\OledDriver.c:592:29: error:

Have you any idea ?

EDIT : SOLVED Thank you ;) !

Thank you so much !


Jacob Christ

Sat, 14 Jul 2012 22:00:01 +0000

How did you solve this in case others have the same issue?

Jacob


hof.and.or

Tue, 18 Sep 2012 21:09:14 +0000

You could save me an hour...

But now I have the solution: You have to select in Mpide

[color=#004000]Tools/Board/chipKIT MAX32[/color]

instead of

[color=#800000]Tools/Board/chipKIT MAX32-USB for Serial[/color]


Jacob Christ

Tue, 18 Sep 2012 21:59:10 +0000

Ouch, sting.... been there done that.

Jacob