change namespace of LoopDelegate.

add convenience method for digital-read.