Top "Hex" questions

Hexadecimal (also base 16, or hex) is the base-16 positional numeral system, using the 16 symbols 0–9 and A‒F.

Calculating Modbus RTU CRC 16

I'm implementing a software where I read and write data in Modbus RTU protocolo via serial. For that, I need …

c++ qt hex modbus crc16
Objective-C parse hex string to integer

I would like to know how to parse a hex string, representing a number, in Objective-C. I am willing to …

iphone objective-c string parsing hex
Converting hex to string in C?

Hello I am using digi dynamic c. I am trying to convert this in to string char readingreg[4]; readingreg[0] = 4a; …

c arrays hex converter bitconverter
Grabbing n bits from a byte

I'm having a little trouble grabbing n bits from a byte. I have an unsigned integer. Let's say our number …

c++ c binary hex bits
Converting very simple ARM instructions to binary/hex

I've been trying to use this page as well as various other guides to figure out how to express very …

assembly binary hex arm opcodes
Literal Syntax For byte[] arrays using Hex notation..?

The compiler seems to be ok with this (single digit hex values only): byte[] rawbytes={0xa, 0x2, 0xf}; But not …

java arrays compiler-construction hex literals
Sending hex over serial with python

This weekend I am going to make a little project. Got a solarcell inverter (Danfoss ULX 3600i) which I will …

python usb hex rs485
How do I implement hex2bin()?

I need to communicate between Javascript and PHP (I use jQuery for AJAX), but the output of the PHP script …

javascript binary-data hex
How to print unsigned char[] as HEX in C++?

I would like to print the following hashed data. How should I do it? unsigned char hashedChars[32]; SHA256((const unsigned …

c++ hex printf unsigned-char
Are hexadecimal numbers ever negative?

Are hexadecimal numbers ever negative? If yes then how? For binary you would have signed and unsigned. How would one …

java hex negative-number