Added 1-wire draft code