Fix serial comm; add arduino sketch