//Input Pin Code
int inputPin=25;//Input Pin
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(inputPin,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
if(digitalRead(inputPin)==HIGH)
{
Serial.println("□□□□□□□□□□");
}
else
{
Serial.println("■■■■■■■■■■");
}
delay(10);
}