title: shift left bits value in c
body: <h1>update</h1>
  
  <p>I'm new at hardware programming with c compiler for the PIC 18F4550 from Microchip.</p>
  
  <p>My question is, can someone give me an example 'how to shift bits left with a carry' 1110 => 14?</p>
  
  <p>The bit is a flag somewhere to go. also the number should be reduced to that a bit. I hope that's clear, sorry in advance! </p>
  
  <p><code>unsigned int red = 1206420333240;
  LATAbits.LATA2 = red &lt;&lt; 1;</code></p>