- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
help you.
LCD datasheet as well or a link to it.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the data sheet. for the device http://www.crystalfontz.com/controllers/ST7920.pdf. I would talk to this with SPI it would be the easiest way.