A real example on erial read and write