Hi Claudio,
Great work!
Now that I think, it seems that it's definitely the internal pull-up,
since when you don't press the button effectively there is nothing
connected to the pin. So, it's the internal pull-up that makes it go
to 1.
I have two ideas:
1. Disable the internal pull-up, there is a register for that. I think
the internal pull-ups are enabled by default.
2. Rewire the board, so that the button is connected directly to GND
and not to the 10k resistor.
Thank you all for your effort! Have a nice weekend and see you at
latest on Tuesday!
Kind regads,
Todor
2009/4/18 Claudio <
claud...@gmail.com>:
--
Helsinki Metropolia University of Applied Sciences
Information Technology Programme
Todor Vlaev
Mobile:
+358 50 935 0230