Hi all,
I'm confused with the example given to use GPIO. I'm trying to set more than one GPIO pin as output. Which exemple should I follow? The example for LEDs or the Gpio_example.c on the pdk_OMAPL138_1_01_00_02? Because they define the GPIO in different ways.
I have the C6748_StarterWare_1_20_04_01 on my computer and I don't have the file "lcdkOMAPL138.h", which I should include in my main. Where could I get it? I have the "lcdkC6748.h". Is it the same file?
On the other hand, I get these errors on the debugging:
Description Resource Path Location Type
unresolved symbol _GPIODirModeSet, first referenced in ./main.obj ANC C/C++ Problem
Description Resource Path Location Type
unresolved symbol _GPIOPinWrite, first referenced in ./main.obj ANC C/C++ Problem
Description Resource Path Location Type
unresolved symbol _PSCModuleControl, first referenced in ./main.obj ANC C/C++ Problem
Why do I get them? They are first referenced on the main function of my program... It seems to say that the library is not included, but I think it is included. How can I solve it?
BTW, I found this on the TI wiki:
To write to multiple pins in the same bank at a time, use the API GPIOBankPinsWrite (). How can I use this sentence?
Thanks a lot,
Miguel.