python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Reading hex data from serial port
I am trying to read a hex data from an MCU connected by USB. The MCU is designed to provide output in hex.
This is a simple code I wrote using pyserial:
import serial
import time
ser = serial.Serial(...
EliF
Votes: 0
Answers: 1
Some Hexademical numbers get modified when writing to a file
I'm writing a program which packs hexadecimal strings into bytes and writes them on disk. I expect the hexdump of the file to be same as the hexadecimal things. I'm doing this in Clojure:
(defn- hex-c...
Suvrat Apte
Votes: 0
Answers: 1
How to create a Datasheet for Elden Ring Save-Files
I'd like to find out the offset of certain information like level, equipped items etc. from the ER0000.sl2 save file.
It has been done for Dark Souls here.
And I found out some offset locations in thi...
Tom M
Votes: 0
Answers: 1
What is the scientific calculation method of 0xf.ap+11 hexadecimal to decimal?
Your similar hex ox2ab, aef97, etc, I understand its scientific notation, but
0xf.ap+11 makes me wonder.Can anyone help me, thanks!
fuyingwei
Votes: 0
Answers: 1