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