title: read data from analog input and sent it via serial port continuously
body: <p>I have the code bellow to read data data from analog input and sent it via serial port. But, between two values the programm take a lot of time because of <code>println()</code>.</p>
  
  <pre><code>int x;
  
  void setup() {
    Serial.begin(9600);
    x = 0;
  }
  
  void loop() {
    // Mesure la tension sur la broche A0
    x = analogRead(A0);
  
    // Transforme la mesure (nombre entier) en tension via un produit en croix
    //float tension = x * (5.0 / 1023.0);
    Serial.flush();
    Serial.println(x);
  }
  </code></pre>
  
  <p>I want the adc converts and sends data automatically to the serial port. Do you have an idea about how I can do that?</p>