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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/04/99 01:09
Read: times


 
#799 - RE: C Compiler keil
I'm using Keil version 3.2 .You can set or clear bit of Port 1 by declare variable as

sbit P1_0 = 0x90 ;
sbit P1_1 = 0x91 ;
.
.
.
sbit P1_7 = 0x97 ;
main()
{
P1_0 = 1 ;// Set P1.0
p1_1 = 0 ;// Clear P1.1
}



List of 3 messages in thread
TopicAuthorDate
C Compiler keil            01/01/70 00:00      
RE: C Compiler keil            01/01/70 00:00      
RE: C Compiler keil            01/01/70 00:00      

Back to Subject List