Thread: unions in C
View Single Post
  #5   Spotlight this post!  
Unread 10-11-2003, 18:42
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
cool...

I am going to try it tonight.

I am a little disturbed by this but I think I will settle down after I break out my Kernighan & Ritchie.

Here is the nub of my concern:

Are we creating processor/compiler specific code (i.e. not portable code)? The library functions for getting and putting data are expecting unsigned character types. The fact that we are sending signed character types to them seems not right somehow (yes I know that we are actually storing an unsigned character in them when we send the data -- the += 127 bit, but it still creeps me out a bit).

Anyway, I will have to try it out.

Thanks for the help.

Joe J.