Hopefully this should be better than the previous one, but because of the nature of UART, I'm using a ring-buffer style read and write data from UART. Re: tty_utils a utility sample for CLI type program To make it a little more robust, I'd like to use my tty_utility. If (datarecive='0')/* Place your application code here. I have attached the code that i m trying to do but that thing is not working properly So I am thinking like If I can save 2 bytes(1st letter,2nd letter) of data to an array and then read from array to drive the led_1 and led_2 according to values.can anyone please help me regarding this? Similarly for 3rd bit : i want to drive led_1 and for 4th bit : i want to drive led_2 and so on txt file contain Example: 1000100101 so according to this streamġst letter is : 1 so i want to drive led_1 on some pin andĢnd letter is : 0 so I want to drive led_2 on some pin that I am able to send by UART_Getchar function and by using tera term application.Īs my. txt file that contain 1 and 0 using the uart. I am new to cypress community,I am currently working with CY8Ckit-059 psoc kit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |