title: Arduino How can I print the unsigned long long data
body: <p>I am trying to print <code>unsigned long long</code> data on Serial monitor but 
   <code>Serial.println()</code> doesn't work because of not a string variable.</p>
  
  <p>So I searched on the internet to convert <code>unsigned long long</code> to <code>String</code>. I came up with some solutions but none of them work. For example;</p>
  
  <pre><code>uint64_t pipe = 0x12345ABCD9LL;//lets assume the data is 12345ABCD9 hexadecimal
  char buf[50];
  sprintf(buf, "%llu", pipe);
  Serial.println( buf );
  </code></pre>
  
  <p>This code doesn't work. I tried <code>"%lu"</code> , <code>"%lld"</code> as well. </p>
  
  <p>I want to see what my <code>pipe</code> value is. In this case, I want to see <code>12345ABCD9</code> on the serial monitor. Is there any other way to do it ? I am waiting your response. Thank you very much.</p>
  
  <p>EDIT:</p>
  
  <p>when I use the <code>"%lu"</code> I see <code>878361817</code> variable on the screen(which is not what I want). But the others they are just null , empty </p>