Replies: 2 comments 6 replies
-
The micropython docs do explicitly list the supported data types. Although |
Beta Was this translation helpful? Give feedback.
4 replies
-
Agreed. It would probably be useful to add these.
This was actually added a few days ago. (See the PR I linked above) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Embedded systems often have to pull apart and put together packed binary structures, and
ustruct
is very helpful here, though there are 4 unimplemented format specifiers:?
(bool),c
(byte, fixed),p
(byte-string, pascal),x
(padding, in CircuitPython).As the micropython ustruct documentation refers to the python struct document, I had assumed all the format specifiers would work, but this doesn't appear to be the case.
Beta Was this translation helpful? Give feedback.
All reactions