I am using a Digispark, or probably a china-copy scince Pin5 is an Reset.
I am trying to make a rotary encoder work on Pin1 1 and Pin4.(LCD in i2c on Pin0 and 2 )
I noticed that despite a 4.7k pullup resister the voltage is only around 2V if the Pin is configured as input.(with or without pullup doesnt matter)
If i configure the pin as output i am getting 0 and 5V levels though.
I got everything working using 2k pullups giving me 2.8V levels which is sufficient.
But I dont understand why the Voltage is so low. Is this normal and maybe linked to the onboard USB?
Or is there some configuration problem? What is a good value for the pullup?
Moreover Pin3 produces a reset also. WTF?
Thanks for any help.