added function for reading from LS165
print test result
passed ls165 test