Quick Question on PulseOuts, DigitalReads, and a Few Other Things...

So how are the inputs wired?

whenever I even start the code, the output is spammed with pulses.

Sounds like floating inputs to me.