Hi, I got same problem too. 
when I run "VBasic\DI\DIOnePort" example, it shows "255". 
When I change the default state into "pull-down" by setting the jumper, the "DIOnePort" example shows  "0"
I got same result even though I have connected one pin(say pin47, pa0) by +5V  battery. 
Thus I still can't  read a real digital state .
Pls give your expert advice on that how can we read a digital input state.  What is hardware configuration?
Thx.