if (count > 0)
{
count--;
if (count == 0)
{
if (change == 0)
{
lcd.clear();
lcd.print("ccc");
lcd.setCursor(0, 1);
lcd.print("bbb");
lcd.print(value);
change = 1;
count = 300;
}
else
{
lcd.setCursor(0, 1);
lcd.print("aaa ");
change = 0;
count = 300;
digitalWrite(discharge, LOW);
}
}
}
delay(1);
댓글 없음:
댓글 쓰기