Optimized 1-wire driver