title: Read 'N' bit from a byte
body: <p>I need to read a specific bit from a byte. The value i want to test is 0 or 1.</p>
  
  <pre><code>unsigned char Buffer[0]=2; 
  //or binary 0b00000010
  </code></pre>
  
  <p>How can i read n bit from buffer. If it's 0 or 1?
  Example if 7 bit from byte is 0 or 1</p>