Continue to Site

Welcome to EDAboard.com

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-tech c code problem with Usard

Status
Not open for further replies.

samnang39

Full Member level 2
Joined
Oct 26, 2006
Messages
130
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Cambodia
Activity points
2,246
Dear all

i need to send AT+CMGL="REC UNREAD" though Usart
the problem is symbol " i cannot send it
could anyone show me how to send it?
 

Transmit 61(Decimal) and 0x3D(Hexadecimal) these are the ASCII value of = symbol

Transmit 34(Decimal) and 0x22(Hexadecimal) these are the ASCII value of " symbol

Hope You understand
 
You have to write [\"] if you need to insert ["] in a string
i hope this can solve your problem
just write
SomeUARTTXFuntion("AT+CMGL=\"REC UNREAD\"");
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top