title: Byte Variable For Loop
body: <p>Please help me interpret this for-loop:</p>
  
  <pre><code>for (byte color_bit = 23 ; color_bit != 255 ; color_bit--) {
      ...do something
  }
  </code></pre>
  
  <p>I think I understand (from Googling &amp; StackOverflow) that 'color_bit' here is an UNSIGNED variable. So this means that the loop will count down from 23 to 0. But then what happens next? Does it attempt to start at 255 and continue to count down?  But because the test is "!= 255" it will stop?</p>
  
  <p>In my mind this seems to be the logic, but the tool I'm using (Arduino IDE) doesn't have a debugger, so I can't step through the code to see the values.</p>