Actually write to pin