View Single Post
  #7   Spotlight this post!  
Unread 23-06-2002, 22:57
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: Programming question

Posted by Lloyd Burns at 1/15/2001 1:14 AM EST


Other on team #188, Woburn Robotics, from Woburn Collegiate and Canada 3000, ScotiaBank, Royal Bank Financial.


In Reply to: Programming question
Posted by Nick on 1/14/2001 10:52 PM EST:



If you wany the low nibble of byte "ANALOG1", why not define "LSNANA1" as the low nibble of ANALOG1? Then if ANALOG1 = 0xA5 = B'10100101', LSNANA1 = 0x5 = B'0101', and you have no processing to do; the compiler does it all !


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.