About 60,000 results
Open links in new tab
  1. 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...

  2. 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...

  3. 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 …

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

    Sep 28, 2020 · 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 …

  5. 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 …

  6. Arduino digitalWrite not working - Arduino Stack Exchange

    Arduino digitalWrite not working Ask Question Asked 8 years, 4 months ago Modified 8 years, 4 months ago

  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. 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 …

  9. 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 …

  10. digitalwrite - Fast digital IO - Arduino Stack Exchange

    Mar 4, 2023 · The idea is to use an Arduino that ready the 4 digital input bits and then computs the necessary 8 bit output which it output to the 8 bit bus. However, this need to be as fast as 1 us. Is …