Hello everyone !
I have to program an LCD EA DOGM162 (datasheet : http://www.lcd-module.com/eng/pdf/doma/dog-me.pdf) with 4 switches and 2 LEDs with a Cypress CY8CKIT-042 (language C). The BIG problem is, I've never used an alphanumeric LCD before and all the program that I did, I've done them on Arduino so I don't know much things about PSoC Creator. To be sure of my circuit, I did a schematic on Isis but there's no Cypress card on it and not the good LCD. I've done an Arduino code in order to test it on Isis and all works but PSoC Creator is harder to use. The LCD is used in SPI with 8 bits interface but I don't know how to initialize it and what I should put on the "TopDesign.cysch" file of the workspace. I know that Arduino is a variation of C, so coding what the LCD have to do is fine but not the initialization in 8 bits and SPI.
Here's the schematic on Isis :
My deadline for this project is friday of this week. I deeply hope you will help me. I'm waiting for your answers. Thank you in advance.
I have to program an LCD EA DOGM162 (datasheet : http://www.lcd-module.com/eng/pdf/doma/dog-me.pdf) with 4 switches and 2 LEDs with a Cypress CY8CKIT-042 (language C). The BIG problem is, I've never used an alphanumeric LCD before and all the program that I did, I've done them on Arduino so I don't know much things about PSoC Creator. To be sure of my circuit, I did a schematic on Isis but there's no Cypress card on it and not the good LCD. I've done an Arduino code in order to test it on Isis and all works but PSoC Creator is harder to use. The LCD is used in SPI with 8 bits interface but I don't know how to initialize it and what I should put on the "TopDesign.cysch" file of the workspace. I know that Arduino is a variation of C, so coding what the LCD have to do is fine but not the initialization in 8 bits and SPI.
Here's the schematic on Isis :
My deadline for this project is friday of this week. I deeply hope you will help me. I'm waiting for your answers. Thank you in advance.