Shop OBEX P1 Docs P2 Docs Learn Events
Reading information from DHB-10 — Parallax Forums

Reading information from DHB-10

sasilvasasilva Posts: 2
edited 2020-01-09 16:43 in Robotics
I am working in a MicroPython script, found in the following link: https://github.com/sasilva1998/uPyArlo

Basically the problem I am having, is that when I try to read the firmware and hardware version, I am getting the following outputs:

for firmware version in hex and dec output
HEX:
- b'\x06\x06\x16k'
DEC:
- b'\x83\xd6'

for harware version in hex and dec output
HEX
- b'3\x06\x16\xd6'
DEC
- b'k'

Configured it so that I could get the outputs in hexadecimal and decimal, as well as in two different forms, as seen like in a array of bytes and a complete packets of bytes. The things is I don't know how I should interpret what I am getting. I know I should be getting there a 1 and a 10 as I have seen in the arduino library, but either way I don't basically know how to get out the values. I am using an ESP32 and uPy for this. Any help is welcomed. Thanks everybody.

Comments

Sign In or Register to comment.