How to read characters (string) in PSoC from Serial | Cypress Semiconductor
How to read characters (string) in PSoC from Serial
For a new project I need to send and read data, ASCII char numbers, from the serial port to the PSoC. I've been trying to send and receive strings from Serial Port to the PSoC 4, sending strings is easy with UART_PutString(); , but I cant read them yet. I was looking in the UART Datasheet to find help in this matter, but what I can understand so far, is that you can only receive or get one char or byte at a time. So I was wondering if there is a function such as gets() or maybe ReadLine. And if there is no function, how do you think that it can be done?
Thank you for your help