gabled LCD | Cypress Semiconductor
Hey everybody, just want to say that this is a valuable forum and i have learned a lot by following some of the threads here.
I have inherited a PSOC1 EVAL board from a freind and am playing with it in my spare time. since ive recieved it i have began to learn c for programming the device and have gone through many of the PSoC examples. long story short, i have succefully been able to communicate AT commands through simple c code from the psoc MCU to a GSM to send me an sms.
Now i have simulated communication through windows hyperterminal:
MCU sends command "AT" as an unassigned char and it is displayed in hypertrm, I type in "OK" followed by enter, program saves charachter by using UART_cGetChar(); and displays it back to hyperterminal through UART_PutChar();
this has worked well.
Now i want to do something similar with an LCD interface as i would like to monitor the flow of communication between MCU and GSM, but the charachters displayed by LCD_from _cGetChar(); on the LCD are garbled. i have tried obtaining the parameters by using UART_szGetParam(); and that returns nothing, using UART_szGetRestOfParams(); returns "AT" to the LCD which is odd.
ihave scattered the forums and treid a lot of what has been discussed but have given up, could anybody offer some insight as to why i am getting garbled info using _cGetChar, or why i am recieving the AT command that was supposed to be sent by Tx when using _szGetRestOfParams? thanks in advance for any input