• 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 =...
  • tcp connection slow over gprs
    Hello, we are sending data using method www.keil.com/.../rlarm_tn_using_tcpsoc_example.htm however, the ping delay between the server and client is more than 1500ms (VPN over slow GPRS) ...
  • Cannot output 0x00 (null) character
    I am trying to write a very simple program to output a serial string including hex codes when I press a button. It works fine if the string does not include 0x00, but if it does this is treated as...
  • UART sending characters
    Hello! I have a MCBSTR9 chip and i am trying to use the UART for sending some characters to the chip. All works great in simulator but when i am loading it on the chip it doesn't do anything at all....
  • Sending integers over USART as ASCII characters, using HAL Libraries
    Hello Everyone; To send ASCII characters via USART I normally use Hal libraries and the function below; HAL_UART_Transmit(&huart2, (uint_t*)"Hello", 6,10); But, that one is for characters...