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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/14/04 08:02
Read: times


 
#70321 - RE: IAR C compiller ver 6.10
Responding to: ???'s previous message

I read the manual!

For bit variable:

bit test1; /*this is a bit variable */

The bit is boolean which means it can equal 0 or 1.



/* Example interrupt handler for the timer */
interrupt [11] void timer_int(void)
{
rtime++;
P0.1 ^=1; /* toggle port 0 bit */
}

If you had trouble with these issues, then you're going to have a lot more soon! Best be reading the manual first.



List of 4 messages in thread
TopicAuthorDate
IAR C compiller ver 6.10            01/01/70 00:00      
   RE: IAR C compiller ver 6.10            01/01/70 00:00      
   RE: IAR C compiller ver 6.10            01/01/70 00:00      
      RE: IAR C compiller ver 6.10            01/01/70 00:00      

Back to Subject List