read digital channel with change detection.