Years (long, long) I wrote a serial calculator for the nano as a bet with a friend. I had numerous issues with software architecture around parsing because different commands took different numbers of parameters. I solved the serial issue in this post: