Rewrote serial routine as previous had issues with multiple boards