title: Converting int to binary in C / Arduino
body: <p>I'm having a really hard time trying to convert an INT to an 8 bit Binary number.</p>
  
  <p>There's plenty of code on how to do this online however most of them need libraries in order to work, and Arduino doesn't support libraries from C as it has its own.</p>
  
  <p>If anyone has any idea on how to go about doing this without using C libraries, maybe just using some loops, it would be much appreciated</p>
  
  <p>For example:</p>
  
  <p>if the input is 5
  the output should be 00000101</p>
  
  <p>Thanks</p>