is there away I could only serial print if any changes are made on any input or outputs?
by doing this I would decreese my delay when I serial print
The StateChangeDetection example springs to mind....
How are changes happening on outputs?
Mastering the example sketches that come with the IDE gives all the skills you need.