(Untested) write function for MAX7311