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

Back to Subject List

Thread Closed: Issue successfully resolved

???
02/27/04 16:09
Read: times


 
#65634 - re: hyperterminal
Responding to: ???'s previous message
It looks to me like the problem is with your usage of SWT bit. For this to be an input you must write a "1" bit to the output latch. So at start do.... SWT=1;

Now to detect the switch you will be best off if the switch is connected one side to GND and other side to the SWT input. Also from the SWT input provide a pullup resistor of 10K ohms to VCC supply of the processor. IE...connect the switch as shown below:



(Ignore the fact that picture shows 5 switches).


To detect the switch look for it going low.....and then at end of the loop do not do SWT=0; You may want to have a wait instead that looks for switch going back high.

Michael Karas



List of 43 messages in thread
TopicAuthorDate
re: hyperterminal            01/01/70 00:00      
   re: hyperterminal            01/01/70 00:00      
      re: hyperterminal            01/01/70 00:00      
         re: hyperterminal            01/01/70 00:00      
            re: hyperterminal            01/01/70 00:00      
            re: hyperterminal            01/01/70 00:00      
   re: hyperterminal            01/01/70 00:00      
   re: hyperterminal            01/01/70 00:00      
      re: hyperterminal            01/01/70 00:00      
         re: hyperterminal            01/01/70 00:00      
         re: hyperterminal            01/01/70 00:00      
            re: hyperterminal            01/01/70 00:00      
               re: hyperterminal            01/01/70 00:00      
            About internal pull-ups            01/01/70 00:00      
               RE: About internal pull-ups            01/01/70 00:00      
                  RE: About internal pull-ups            01/01/70 00:00      
                     RE: About internal pull-ups            01/01/70 00:00      
               RE: About internal pull-ups            01/01/70 00:00      
                  I apologize Joseph Hébert!            01/01/70 00:00      
                     RE: I apologize Joseph Hébert!            01/01/70 00:00      
                        RE: I apologize Joseph Hébert!            01/01/70 00:00      
                           RE: I apologize Joseph Hébert!            01/01/70 00:00      
                              RE: I apologize Joseph Hébert!            01/01/70 00:00      
                                 RE: Continuing furrrrrrrrrther off topic            01/01/70 00:00      
                                    RE: Continuing furrrrrrrrrther off topic            01/01/70 00:00      
                                       RE: Continuing furrrrrrrrrther off topic            01/01/70 00:00      
                                          RE: Continuing furrrrrrrrrther off topic            01/01/70 00:00      
                                 RE:hyperterminal            01/01/70 00:00      
                                    RE: RE:hyperterminal            01/01/70 00:00      
                                    RE: RE:hyperterminal            01/01/70 00:00      
                                       RE: RE:hyperterminal            01/01/70 00:00      
                                          Alternate Windows Comm Program            01/01/70 00:00      
                                             RE: Alternate Windows Comm Program            01/01/70 00:00      
                                                RE: TeraTermPro            01/01/70 00:00      
                                                   TeraTermPro hime page (I think)            01/01/70 00:00      
                                             RE: Alternate Windows Comm Program            01/01/70 00:00      
                                                RE: Alternate Windows Comm Program            01/01/70 00:00      
                                                   RE: Alternate Windows Comm Program            01/01/70 00:00      
   AT commands and baudrate            01/01/70 00:00      
      RE: AT commands and baudrate            01/01/70 00:00      
      RE: baudrate            01/01/70 00:00      
         RE:            01/01/70 00:00      
            RE: RE:            01/01/70 00:00      

Back to Subject List