I am developing an RFID-based timing system for timing cycling races. Currently have an application which was written for manual entry of race numbers using the keyboard. The RFID reader passes hex data to the PC through a serial or TCP port. I need to convert the received data into meaningful race numbers and then transmit these numbers to the app as keystrokes. i.e 0004, or 0005, etc. followed by a comma and "ENTER"
The problem...
Search Result
Collapse
8 results in 0.0039 seconds.
Keywords
Members
Tags
-
neelsfer started a topic Filter and convert hex characters received through a serial port into keystrokesin JavascriptFilter and convert hex characters received through a serial port into keystrokes
-
Balaji KR started a topic in Embedded C, how to convert a Returned Hex value in the form of “Unsigned Char”in Cin Embedded C, how to convert a Returned Hex value in the form of “Unsigned Char”
We are writing a code for I2C interface,
where we are reading a 16 bit Hex number as two 8 bit Hex MSB and LSB, and we are returning these values as "Unsigned Char".
we want to concatenate these MSB and LSB "char" values, and finally we need one "Integer" value for our further processing.
for example: the following 2 methods are returning one "Unsigned Char" value, each... -
How to represent HEX in Oracle?
With regular decimal numbers you can just write them in. With hexadecimal I tried using 0x### but it didn't help.
Here's how i'm temporarily doing it:
Code:nvl(flags,dec2hex(0))
silly right? Just to get a hex number?
There's got a better way. Care to share?
Thanks,
Dan -
How to extract jpg image from hex?
I want to extract the jpg image from an Hex file. The hex file comes from a serial camera that outputs a hex stream in the serial port. I need to reconstruct the image.
The output of the camera is attached in the text file.
the code I'm using reads the hex values and convert them to ASCII and save the file as a .jpg.
When I try to open the "picture.jp g" with Photo Editor it reads the start FFD8 correctly... -
Editing an 8 Character Hexadecimal Field in a Form
I am designing a form for a data entry function where two fields that are entered are hex (8characters). I want to edit this field for valid hex numbers. How do I do this? -
4-byte char from hex to float
he there,
I am trying to read out a .md3 file.
i am stuck on a point where i have to convert a 8-bit hexedecimal char to a float.
and change it from little endian to big endian
this is how far i got
Code:unsigned char tmp[4]; f32 test; fread(&tmp, 1, 4, f); test = bitshiftf32(tmp); f32 bitshiftf32(unsigned char val[4]) { return val[0]|(val[1]<<8)|(val[2]<<16)|(val[3]<<24);
-
assigning 64-bit hex values to unsigned long variables
I'm having a problem with assigning 64-bit hex values to unsigned long variables in MS VS2005 c++ compiler.
Code:unsigned long Number; Number = 0x1000000000000000UL;
-
Declaring Hex in Vb.net
private readonly Guid _tagGuid1 = new Guid( new byte[] {0x5F, 0x4D, 0x69,
0x63, 0x68, 0x61, 0x65, 0x6C, 0x20, 0x53, 0x74, 0x75, 0x61, 0x72, 0x74, 0x5F
} );
The above code is declaration of hex in c#. How to declared similary array
of hex values in Vb.net ?
Thanks for the help
Sudheendra...