Attiny : Is it possible to analog read on PB1? I'm trying to read an analog input on the Attiny85 physical pin 6 (PB1, PWM), but analogRead(PB1) always returns 1023. Is it even possible to use analogRead on this pin?
I'm fairly new to this so sorry if it's an obvious answer.
Thanks!
PB1 has no analog input. So no, you can't read analog with it.
For analog you must use any of PB2 through PB5.