• Null terminating character
    Hi all, I've this strange problem with the \0 character. I'll show you the code first: #include <REG52.H> void test(char *s) { int idx; for(idx = 0; *s != '\0'; idx++, s++) { } P1 =...
  • Sending NULL character ('\0') over a TCP connection
    Greetings, Intro: I am developing a TCP Server (TCP Passive Open) using LPC2364 (ARM7TDMI) using the old RL_TCPNet library . I need to send a string of ASCII data, which contains random characters with...
  • NULL peculiarities
    I have a question about the behavior of some code I have written: Packet Packet_str; when I declare this structure in my main program and then check its memory location via a printf statement and...
  • I can not put a char 0x00 to serial window
    I can not put a char 0x00 to serial window.How can I do?
  • Initializing Port 0 and Port 2 with 0x00 value
    The hardware that I am working on has Relays connected on Port 0 and Port 2 pins of AT89S52 uc. I would like to know if it is possible to initialize the port pins with 0x00 values before the main application...