Technically, you could write him a letter and there would be no violation but it is not a very good idea. If he responds, he could be found in contempt of the court order. Violations of court orders are generally taken very seriously.
The Criminal law is complicated. If you are looking for lawyers in buffalo ny free consultation and facing criminal charges or in the middle of a criminal case, such as a dwi cases, contact a criminal lawyers buffalo ny, buffalo dwi lawyer, or criminal attorney buffalo ny