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

Top Page

Reply to this message
Author: Peter Bond
Date:  
To: Hampshire LUG Discussion List
Subject: 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