title: Weird issue with serial monitor using servos with an Arduino Uno
body: <p>I've been playing with the servo/leds controller example from <a href="https://learn.adafruit.com/multi-tasking-the-arduino-part-1?view=all" rel="nofollow noreferrer">https://learn.adafruit.com/multi-tasking-the-arduino-part-1?view=all</a></p>
  
  <p>In the Update function for the Servo, I added the following for debug purposes:</p>
  
  <pre><code>Serial.print("Position: ");
  Serial.println(pos);
  </code></pre>
  
  <p>producing</p>
  
  <pre><code>Position: 180
  Position: 90
  Position: 0
  Position: 90
  Position: 180
  Position: 90
  Position: 0
  </code></pre>
  
  <p>as an output in the Serial Monitor during the execution.</p>
  
  <p>Then I changed those two lines to:</p>
  
  <pre><code>Serial.print("Position: " + pos);
  </code></pre>
  
  <p>which produced this output</p>
  
  <pre><code>Position: 
  
  
  
  Position: 
  </code></pre>
  
  <p><em>(seems to print 'Position' whenever the value is 0.)</em></p>
  
  <p>From the logic point of view, both should be the same so I've trying other things suspecting some kind of interference between the servo and the serial communication withouth success like:</p>
  
  <p>a)Different baud rates (1200, 2400, 9600 up to 115200), keeping the code in sync with the Serial Monitor. 
  b)Powering the Arduino with an external power source instead of the USB connection to my laptop. Same by powering the servo independently
  c)Disconnecting the servo direcly</p>
  
  <p>I would really appreciate if anyone has a clue of what is happening here.
  Cheers!</p>