Replies: 1 comment 1 reply
-
You can do in on-the-fly be writing;
or you can create a single element bytearray and store the value into it:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello experts,
I want to calculate (bool) and send the data to the SPI bus, but I note that the SPI only accepts certain data types bytes, or bytearray.
For example, I have below code slice:
Do anyone has the experience to convert HEX to bytes/bytearray in micropython?
Regards
Beta Was this translation helpful? Give feedback.
All reactions