Fixed bug in arduino serial send code