   LoRa.setPreambleLength(LORA_PRELENGTH);
   if (LORA_CRC)
     LoRa.enableCrc();
-  
-  Serial.println("init ok");
-  display.init();
-  display.flipScreenVertically();  
-  display.setFont(ArialMT_Plain_10);
-  delay(1500);
+
+  delay(1000);
 }
 
 void loop() {

  Serial.println(distance);
  sendPacket("W:" + String(distance));

  delay(10000);
}

void sendPacket(String contents) {
  display.clear();
  display.setTextAlignment(TEXT_ALIGN_LEFT);
  display.setFont(ArialMT_Plain_10);
  
  display.drawString(0, 0, "Sending packet: ");
  display.drawString(90, 0, contents);
  display.display();

  // send packet
  LoRa.beginPacket();
  String packet = (contents);

#include <LoRa.h>
#include <Wire.h>  
#include "SSD1306.h"
#include "esp_deep_sleep.h"

#define echoPin 12 // Echo Pin
#define trigPin 13 // Trigger Pin
