旋轉電位計模組
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
analogRead(0);void setup()
{
pinMode(4, OUTPUT);
}
void loop()
{
digitalWrite(4, 1);
delay((analogRead(0)));
digitalWrite(4, 0);
delay((analogRead(0)));
}