 
   // Wait a few seconds between measurements.
   delay(5000);
-
+  mq135value = analogRead(0);
+  mySerial.print(mq135value, DEC);                 //data will be send bluetooth by myserial 
+  
   // power led ON to indicate we start mesuring
   PowerLed.on();
   delay(100);

SoftwareSerial mySerial(rxPin, txPin); 
char myChar; 


DigitalPin PowerLed(13, false, true); // initial state is off (false), invert true = high turns led off
DigitalPin greenLed(2, false, true);  // initial state is off (false), invert true = high turns led off


// the loop function runs over and over again forever
void loop() {
  //All words typed in the console will be send - This part is only needed to test data sending
  while(mySerial.available())
  {
    myChar = mySerial.read();
