<JamesMunns[m]>
But yeah, idk, for personal projects I would probably do it in whatever order makes it easier to implement or use. If those act like shift registers, then the first photo you posted (0 on the left) actually makes sense to me, since it means you push data out in 0, 1, 2, 3 order, and that matches what the user sees.
<AstraKernel[m]>
It is personal project. At the same time sharing the knowledge with others through the Rust embedded drivers book. While trying to explain it in the book, the second seems more simple. Especially it well fits with embedded graphics co ordinates and framebuffer flow
ouilemur has quit [Quit: WeeChat 4.7.0]
<AstraKernel[m]>
s/second/*first/
<AstraKernel[m]>
Thanks then I will go with first
andwass[m] has joined #rust-embedded
<andwass[m]>
I find the first to be more easy to remember. Especially if you read from left to right then the left-most is the lowest number and so on.
<dngrs[m]>
"just rotate the display 180 degrees if you prefer something different"
i509vcb[m] has quit [Quit: Idle timeout reached: 172800s]
glitchy has quit [Remote host closed the connection]
glitchy has joined #rust-embedded
ouilemur has joined #rust-embedded
sroemer has quit [Quit: WeeChat 4.5.2]
barafael[m] has joined #rust-embedded
<barafael[m]>
huh. I updated one of my applications today, specifically I updated postcard. When updating from 1.1.1 to 1.1.2, I observe that my application suddenly becomes way slower and seems to calculate cobs frames differently. I see that the cobs dependency of postcard changed a lot in between. Anybody else observed something like this?
<barafael[m]>
I am doing something considered funky though - I'm using cobs encoding to create a tokio_util::codec::Codec
<barafael[m]>
i'll be bisecting the cobs crate changes... on a whim
<JamesMunns[m]>
If you find something let me know!
<barafael[m]>
I'm getting one DeserializeBadEncoding error per message, roughly. James Munns am I holding it wrong or what?
<JamesMunns[m]>
Can you give me a runnable repro or some example code/input? Hard to tell if you're holding it wrong otherwise :D
<barafael[m]>
working on that
<JamesMunns[m]>
Are you sending empty frames, or duplicate zeroes on encoding?
<barafael[m]>
no, i don't think so. Even the unit enum values should not be empty frames in postcard. And duplicating zeroes would be something I'd have to do manually, right
<JamesMunns[m]>
Likely!
firefrommoonligh has joined #rust-embedded
<firefrommoonligh>
I'm wish James. There are no established conventions here, so follow your heart, and don't second-guess whichever choice you make
<firefrommoonligh>
Also, Big Endian 4 lyfe! Suck it LE n00bs
<firefrommoonligh>
s/wish/with/
RobinMueller[m] has joined #rust-embedded
<RobinMueller[m]>
barafael: if you keep running into the issue, i can also look into it.
<GuineaWheek[m]>
does ANYBODY in this channel develop for a BE target
<GuineaWheek[m]>
didn't think so
<GuineaWheek[m]>
at least, hopefully not by choice
<barafael[m]>
RobinMueller[m]: Currently isolating it to a repro, I'll keep posted here what I find. Thanks so much.
wassasin[m] has quit [Quit: Idle timeout reached: 172800s]
<barafael[m]>
James Munns: here I reduced the case to an absolute minimum:
<barafael[m]>
it's a repo with a firmware, a protocol, and a client, just like my actual code, but greatly simplified. (Please if you don't mind the advice, take this opportunity to NOT get nerd sniped on an early monday in case you are in EU timezones right now).