digital write tested and working