Basic read/write serial driver