Skip to content

Problem with struct.error: unpack requires a buffer of 4 bytes #1614

Answered by janiversen
AntonWert asked this question in Help
Discussion options

You must be logged in to vote

What are you trying to do ?

that method is not meant for external use. But the problem is clear, the message contains only 16bit not 32, probably because you only read 1 register (32 bit is 2 registers).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by janiversen
Comment options

You must be logged in to vote
1 reply
@AntonWert
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants