Skip to content Skip to sidebar Skip to footer
Showing posts with the label Hex

Correct Interpretation Of Hex Byte, Convert It To Float

I am currently trying to connect to an electric meter via RS485. It works quite well so far, except… Read more Correct Interpretation Of Hex Byte, Convert It To Float

How To Build Byte Array Frame And Calculate Checksum

I'm trying to communicate with a serial port as defined in a specification. ser = serial.Serial… Read more How To Build Byte Array Frame And Calculate Checksum

How Can I Send Anything Other Than Strings Through Python Sock.send()

I'm very very new to programming in Python, but out of necessity I had to hack something togeth… Read more How Can I Send Anything Other Than Strings Through Python Sock.send()

Convert 2 Integers To Hex/byte Array?

I'm using a Python to transmit two integers (range 0...4095) via SPI. The package seems to expe… Read more Convert 2 Integers To Hex/byte Array?

Python Image Pil To Binary Hex

from PIL import Image from PIL import ImageDraw from PIL import ImageFont import urllib.request imp… Read more Python Image Pil To Binary Hex

Writing Hex Data Into A File

I'm trying to write hex data taken from ascii file to a newly created binary file ascii file ex… Read more Writing Hex Data Into A File