Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Se dă următoarea schemă de contectare a unui buton la Arduino. Care este codul sursă aferent acestei scheme?
const int buttonPin = 4;
void setup() {
pinMode(buttonPin, INPUT);
}
void loop() {
intbuttonState = digitalRead(buttonPin);
int
buttonState = digitalRead(buttonPin);
const int buttonPin = GND;
int buttonState = digitalRead(buttonPin);
pinMode(buttonPin, OUTPUT);
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!