Re: [Hampshire] [Slightly OT] Arduino coding help - pointers…

Forside

Besvar denne besked
Skribent: Peter Bond
Dato:  
Til: Hampshire LUG Discussion List
Emne: Re: [Hampshire] [Slightly OT] Arduino coding help - pointersto structs
> First though I'd go and shoot the hardware engineer, who splits a bitfield
> across adjacent bytes ?


While I'd concur with the punishment, I'd like to see that extended to include spec writers who think that variable bit-length coding is a good idea... Absolute doddle to do with a shift register, significantly more unpleasant in C. Exp-Golomb encoding for example.

Peter