What are you trying to do, interface a specific LCD to PSOC ? If so
what is LCD part number.
The library you have could be ported to PSOC, but not without some effort.
what I could not do well is the part of defining the pin is the first thing that is in the file header podrrias guide me on that.
and if it is to handle a GLCD.
You mean you are trying to assign pins from PIC for LCD to
GLCD component in PSOC ? If so post schematic of PIC design
and we should be able to translate to PSOC pin assignments and
LCD datasheet as well or a link to it.
I want to do is to implement this library that is made for pic 32 in psoc but I've had poblemas to output data to pin any of the psoc. my question is:
as I assign the data to a pin with code in c?
thank you for your help.
This ap note shows how to do I/O in C to pins.
http://www.cypress.com/?rID=93401 AN86439 - PSoC® 4 - Using GPIO Pins
Also in Creator documents, system reference, there is a section on GPIO.
If you put a pin on your schematic, you can right click on it, and select "datasheet"
It gives you the C routines to write to it. CyPins_SetPin(Pin_Calibrating_0); to set a pin named Pin_Calibrating, and CyPins_ClearPin(Pin_Calibrating_0); for clearing.
I like to put down a Control Register to do this, and connect the pins to it. It provides the ability to group the pins together in a Byte, making it easier to read and write several pins at one time.