Simple digital read sample sketch