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

Back to Subject List

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


 
#80421 - RTFM
Responding to: ???'s previous message
Ashish Pradhan said:
try:
sbit button = P3^2;

That would be Keil's syntax; this is a Keil-specific language extension.

Richard Slaughter said:
I tried that, but now it's giving the following compile error:

That'll be because it is not valid SDCC syntax.
You must read the SDCC Manual to determine the appropriate SDCC syntax:

http://www.8052.com/forum/read.phtml?id=80419

List of 32 messages in thread
TopicAuthorDate
SDCC input from single pin?            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
            RTFM            01/01/70 00:00      
               RE: RTFM            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
         some day you will go nuts SDCCor not            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
   What does the manual say?            01/01/70 00:00      
      What the manual says            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
            RE: SDCC input from single pin?            01/01/70 00:00      
               RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
            RE: SDCC input from single pin?            01/01/70 00:00      
            Charles Bannister            01/01/70 00:00      
            RE: P3_2            01/01/70 00:00      
            Criticisms of Keil            01/01/70 00:00      
               RE: Criticisms of Keil            01/01/70 00:00      
            RE: SDCC input from single pin?            01/01/70 00:00      
   Actually... My fault :)            01/01/70 00:00      
      Steady on...!            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
      RE: User error            01/01/70 00:00      

Back to Subject List