#include <LiquidCrystal.h>
#include<NewPing.h>
#define your 32
#define mom 33
#define is 25
#define calling 26
#define whyudontpick 21
#define thephoneyet 22
#define my 17
#define sugar 16
#define daddy 40
NewPing work(my,sugar,daddy);
LiquidCrystal Pickupurphone(whyudontpick,thephoneyet,your,mom,is,calling);
int nature = 0;
void setup() {
Pickupurphone.begin(16,2);
Pickupurphone.print("linglingling!!");
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
void loop() {
Pickupurphone.clear();
nature = work.ping_cm();
Pickupurphone.print(nature);
delay(1000);
}