Another attempt to output pin status