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

Back to Subject List

Thread Closed: Issue successfully resolved

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


 
#65637 - re: hyperterminal
Responding to: ???'s previous message
As I remember, <ctrl-Z> has decimal ASCII code 26.
so it should look like:

code unsigned char AT6[] = "FIRE ALERT x1A*";

BTW, why do you use asterisk as a marker of the end of string? In C-language the string constant between "" has the 0x00 at the end. So your loops may avoid to check for '*' but just look at zero, something like this:
while (*ptr0)
{ 
SBUF = *ptr0++; 
while(!TI) 
{} 
TI = 0;
}

Regards,
Oleg


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