SimulIDE_1.0.1-R1386_Win32
On a real circuit, the voltage of an input pin with pull-up resistor (DDRx=0 and PORTx=1 in Atmega8) is Vcc (5V). The typical resistance of the pull-up resistor is around 35 KOhm.
I noticed that the voltage, at such a pin, is 0V instead.
The workaround is to add an external resistor (say 35 KOhm) to get 5V on that pin, so that reading PINx returns 1 instead of 0.
It is not a serious bug as long a user is aware of it.
On a real circuit, the voltage of an input pin with pull-up resistor (DDRx=0 and PORTx=1 in Atmega8) is Vcc (5V). The typical resistance of the pull-up resistor is around 35 KOhm.
I noticed that the voltage, at such a pin, is 0V instead.
The workaround is to add an external resistor (say 35 KOhm) to get 5V on that pin, so that reading PINx returns 1 instead of 0.
It is not a serious bug as long a user is aware of it.