8 Replies Latest reply on Oct 4, 2016 9:03 PM by user_44074550

    Print out uint64 to UART

    user_459156114

      I'm trying to simply print out a uint64 to UART. Currently I'm trying this: 

         

      uint64 = 12345678;
      char buff[10];
      sprintf(buff, “%” PRIu64, param);
      UART_UartPurtString(buff);

         

      Which all I get out from that is "lu" in the UART window.  I've tried other options I found on stack overflow but they all give the same output...Is there something I'm missing here?