Adding trigger print out and adding on off to gpio output printing