Shop OBEX P1 Docs P2 Docs Learn Events
Conversion Decimal to HEX and HEX to Decimal Format — Parallax Forums

Conversion Decimal to HEX and HEX to Decimal Format

ArchiverArchiver Posts: 46,084
edited 2003-01-13 20:41 in General Discussion
I have Two relation problem with the Convertion in the program

I have a variable in Decimal Format

DATA VAR BYTE

This variable is put in the any procces (Math Decimal), then, I need to
send this variable by Serial (3 wire) (Command Shiftout) and the recieve
system work in HEX....

I need to put this VAR in HEX FORMAT, in the same VAR or other VAR

Example:

Damian have value (10) (Decimal format), I need to put in Damian will have
(A) (Hexadecimal format) Put this information in the memory.. No in the
Debug Format

The similary problem, when The system send to BS2p40 a File in HEX... I
need to put this file in BCD format in the same var or other var

Can you help me, Please

I appreciate your prompt response..

Ing. Damian Trujillo G
Venezuela,Caracas
Sign In or Register to comment.