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.

How to convert Ascii to c code

Status
Not open for further replies.

clau

Newbie level 5
Joined
Nov 13, 2013
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
82
Hi,

How can I "use" ASCII in my c code?

I mean, I send "Hello World" to RCom Serial but it receives something like this
"€øøø€øø€ø€ø€€€€øøø€øø€ø€€€€€€€øøø€øø€ø€€€€€"


How can I convert this?

Thank you,
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,299
Helped
1,161
Reputation
2,341
Reaction score
1,151
Trophy points
1,403
Location
Brazil
Activity points
54,160
It sounds as baud rate of UART transmitter and receiver configured at different rates.



+++
 

clau

Newbie level 5
Joined
Nov 13, 2013
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
82
It sounds as baud rate of UART transmitter and receiver configured at different rates.



+++


Hi thanks for your help, I don't think that's the problem...Both baud rates are 9600 bps
 

embpic

Advanced Member level 3
Joined
May 29, 2013
Messages
742
Helped
80
Reputation
160
Reaction score
77
Trophy points
1,308
Location
india
Activity points
5,213
u also have to check other setting like stop bit, parity bit and so on..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top