Digital write function was added.