Hi, guys. I'm a brazilian user, so forgive my english. I have an Arduino UNO R3 with a Gas Methane MQ-4 sensor and a bluetooth module. I developed a app to turn on and off a LED. I configured the Arduino code with SoftwareSerial, set the RX and TX pins and it work. The wire connections is good.
After i built a app to show the sensor value. I tested the sensor in the Serial Monitor and it showed the value. So i just changed the "Serial.println" to "bluetooth.println". But don't work. The app freeze and the most strange is: when i turn off the Arduino, the app say that the connection was interrupted and just there show the sensor values on background screen. Sugestions?