Check out the Signal Generator thread topic. DCB is using a directly wired ATMEGA168, I'm using a second Freeduino board.
It actually shows what it does and you can see it operate. Rewarding in that regard.
I wonder if your inputs being open, ie not connected, are generating some "unexpected" input values that are causing the behavior you are seeing.
__________________
|