Outils pour utilisateurs

Outils du site


wiki:projets:rfid:ethylometre:code

Ceci est une ancienne révision du document !


int mq3_analogPin = A0; // connected to the output pin of MQ3 
 
void setup(){
  Serial.begin(9600); // open serial at 9600 bps
}
 
void loop()
{
  // give ample warmup time for readings to stabilize
 
  int mq3_value = analogRead(mq3_analogPin);
  Serial.println(mq3_value);
 
  delay(100); //Just here to slow down the output.
}
wiki/projets/rfid/ethylometre/code.1457046745.txt.gz · Dernière modification: 2016/09/11 11:01 (modification externe)