Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/27/07 22:23
Read: times


 
#142479 - I Agree.
Responding to: ???'s previous message
I run my code in the debugger in Keil and It showed strange return.
e.g. Channel=0; Code ADCF= 1<< Channel would show ADCF=0x03;

But I just tried it again from scratch and It worked. I must have missed something last time.

Code:

ADCF=1 << (Channel+1);


Thanks Guys,



List of 22 messages in thread
TopicAuthorDate
A Simpler Way?            01/01/70 00:00      
   Logical AND ?            01/01/70 00:00      
   Shift?            01/01/70 00:00      
      I Agree.            01/01/70 00:00      
   Another Option            01/01/70 00:00      
   the simplest way            01/01/70 00:00      
      capitals            01/01/70 00:00      
         I copyued what the OP used            01/01/70 00:00      
         The common use of CAPs in C            01/01/70 00:00      
            totally agree, however            01/01/70 00:00      
               Why are you rambling about variables...            01/01/70 00:00      
                  not to me            01/01/70 00:00      
         Variable capitalisation?            01/01/70 00:00      
            'code 'never is            01/01/70 00:00      
               Did not think it mattered.            01/01/70 00:00      
               Code modifier            01/01/70 00:00      
                  both            01/01/70 00:00      
                     Use both            01/01/70 00:00      
                        C++ ?            01/01/70 00:00      
                           Mixed            01/01/70 00:00      
                        Extensions            01/01/70 00:00      
                           Experience            01/01/70 00:00      

Back to Subject List