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.

How to add two Ascii hex values in C++(89S52)

Status
Not open for further replies.

Davechika

Newbie level 6
Joined
Oct 8, 2009
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Port-Harcourt,Nigeria
Activity points
1,357
i have a C# application which is interfaced to 89S52 microcontroller,the application sends out Ascii hex values of numbers like this 0x32 will be sent out via serialport as 0x33,0x32 but i want to receceive (buffer) these hex data using microcontroller SBUF and add them together like 0x33+0x32 to give back 0x32 which i will use on my code inside 89S52 chip. thanks for ur reply

pix 2.JPG

pix 2.JPG
 

It is better if you can post your code or part of the code here then others can understand the language that you are going to use.

Also check serial communication code here to start your program
**broken link removed**
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top