Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi
I want to read from Terminal and send the gotten string through CAN BUS.
My problems are :
1- How to read from UART1 by this command : "UART1_Read_Text(input, 13, 255);" . I expected to get the "input" string by pressing the ENTER key, but after typing each character it go to the next...
Hi,
I want to get a string from UART1 and analyse it with switch...case as follow:
char Comm[12];
.
.
if(Uart1_data_Readey()){
Uart1_read_text(Comm,".",255);
.
.
switch(Comm){
case "ON": .. .. .. ..; break;
case "OFF":.. .. .. ..; break;
.
.
default: Lcd_out_cp("BAD COMMAND";}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.