Digistump Forums
The Digispark => Digispark (Original) Support => Topic started by: smascare on July 16, 2019, 04:28:57 am
-
Hello All Community!
I´m powering digispark attiny85 with 9V in the Vin and Gnd pins.
When programming any pin to set to LOW in the OUTPUT, i verify high voltage in that pin (about + 3V).
When i use digitalWrite(2, LOW) not obtain a Low voltage on pin 2.
What is wrong?
-
Did you configure the pin as an output with PinMode (https://www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/)?
If the pin is configured as an input, when you try to write a low, it will disable the internal pull-up resistor, and you will see a float.