About 50 results
Open links in new tab
  1. What's the difference between analogWrite and digitalWrite?

    Mar 16, 2017 · Another subtle difference between analogWrite(pin, 255) and digitalWrite(pin, HIGH) is that digitalWrite requires you to set the pin to output using pinMode. analogWrite sets the pin to …

  2. arduino uno - Working or functionality of pinMode (), digitalWrite ...

    I'm a newbie in Arduino. I find out a couple of examples. Here, below arduino simple code I just uploaded. Here, what is functionality or working of pinMode, digitalWrite and digitalRead ? const...

  3. digitalwrite() HIGH for arduino - Arduino Stack Exchange

    Sep 28, 2020 · 0 How too know whether digitalwrite (HIGH, pin_number) sets the voltage to 5 volts or 3.3 volts. I am yet to purchase arduino uno. I want digital pin voltage to be 5 volts. I am aware that …

  4. Arduino digitalWrite 1 or 0 instead of HIGH or LOW

    Aug 12, 2015 · Is it ok to use digitalWrite(pin, 1) instead of digitalWrite(pin, HIGH) or digitalWrite(pin, 0) instead of digitalWrite(pin, LOW) I want it that way to make the coding lesser because I save val...

  5. LED doesn't completely turn off with digitalWrite (led, LOW);

    Jul 13, 2023 · When I was testing out a program I found a strange behavior of ESP8266. LEDs don't turn off completely in the first digitalWrite (led, LOW), just the brightness of the LED goes down, but it …

  6. How do I resolve error message "assignment of function 'void ...

    Jan 2, 2021 · You have: digitalWrite = (redLED, HIGH); This is incorrect since digitalWrite is a function not a variable. Instead you likely want: digitalWrite(redLED, HIGH); This calls the digitalWrite function …

  7. Replacing several pinMode() and digitalWrite() pins with an array

    Oct 20, 2016 · How about for digitalWrite () where its a mix of HIGH and LOW? There are (at least) two ways: Make arrays of HIGH and LOW values, matching the digitPins [] and segPins [] arrays one-for …

  8. How can I set up outputs without using digitalWrite?

    Why do you think that digitalWrite isn't fast enough for your application? Direct port manipulation will be significantly faster than using digitalWrite, but for most things (like controlling a motor) digitalWrite is …

  9. could not convert 'digitalWrite(8u, 1u)' from 'void' to 'bool'

    I am trying to make some LED lights to turn on when i flick a switch on my RC crontroller. I will connect the signal wire from RC controller to pin 8. The plan is: if i flick the swich, the LED's (...

  10. What is happening when digitalWrite (pinname, LOW) is invoked after ...

    Mar 26, 2021 · I read the Arduino official docs on digitalWrite and am confused about what is happening from an electrical perspective when digitalWrite is invoked on INPUT_PULLUP pins. Say my code …