Add function send serial