damn, posted the wrong thing there... it should have read like this:
union {
struct byte_values
{
unsigned char...
Type: Posts; User: dan56965
damn, posted the wrong thing there... it should have read like this:
union {
struct byte_values
{
unsigned char...
Hey, just thought I'd add this for the sake of future searchers....
I read about adding undeclared bits in a bit-field, to allow for limited container size.
This now works for me without...
Salem, Matsp - Thanks for the replies guys... you've been a great help.
Defining as long seems to fix it, athough based on what you've said, I'll have a stab at doing it the bit manipulation...
Hi, I'm struggling with selecting bits using structures inside unions.
I'm trying to convert an array of integers into a format suited to output on various chip pins.
As it stands, I have 8...