Using this guide as reference (http://falsinsoft.blogspot.it/2012/11/a ... space.html), I've started to discover the world of GPIO ports. But now there is a problem...
After that I've initialized the GPIO port #2 to make it ready for input with these commands:
echo 2 > /sys/class/gpio/export
echo "in" > /sys/class/gpio/gpio2/direction
and even if there is nothing connected to the pin number 3 on my Raspberry the output of the command:
cat /sys/class/gpio/gpio2/value
is ever "1".
For being sure that I'm working with the right pin I've connected a LED in this way:

and with these:
echo "out" > /sys/class/gpio/gpio2/direction
echo 1 > /sys/class/gpio/gpio2/value
the LED lights up.
What is wrong with my setup?
EDIT: Even if on the image there is a Raspberry Pi model B rev2, I'm working on a B+ board...