#define buzzer 26
#define potentiometer 15
int touch_pin_value_1=30;
int touch_pin_value_2=70;
int touch_pin_value_1=100;
void setup() {
pinMode(buzzer, OUTPUT);
pinMode(potentiometer, INPUT);
Serial.begin(115200);
delay(2000)
digitalWrite(buzzer,LOW);
}
void loop() {
int analogvalue=analogRead(potentiometer);
int potvalue=map(analogvalue,0,4095,0,255);
Serial.print("Touch Pin Value:");
Serial.print(potvalue);
Serial.println(" ");
delay(200);
}