 	pinMode(AS3935_INT, INPUT);
 
 	if( !lightning.beginSPI(AS3935_CS, 2000000) ){ 
-		Serial.println ("MIKROESAM3X_DEBUG:Lightning Detector did not start up, freezing:#");; 
+		Serial1.println ("MIKROESAM3X_DEBUG:Lightning Detector did not start up, freezing:#");; 
 		has_thunder=false;
 	}
 	else
-		Serial.println("MIKROESAM3X_DEBUG:Lightning Detector Ready:#");
+		Serial1.println("MIKROESAM3X_DEBUG:Lightning Detector Ready:#");
 
 	if (has_thunder) {
 		lightning.setIndoorOutdoor(AS3935_OUTDOOR); 


void setup()
{
	Serial.begin(57600);
	Serial.println("MIKROESAM3X_DEBUG:MIKROE SAM3X WeatherDemo:#");

	bme_init();
	sgp_init();



void bme_init() {
	if (! bme.begin(0x76, &Wire)) {
		Serial1.println("MIKROESAM3X_DEBUG:BME280: Sensor not found!:#");
		has_bme=false;
	}  
}
