Update serial.cpp

Changed to binary_write/read types, added a few comments, removed one extraneous line.