Written 2014-02-11

Tags:UART Serial Hexadecimal 

Several times now I've needed to interact with a serial device that doesn't speak ASCII. I usually end up writing code to talk to it, and add enough logging to figure out what's going on. But last night I wrote a simple hex-console. To write, you type in a hex string, and data received is printed in hex as well. Afterwards I found another implementation, so I'm not the first to want to do this. Anyhow, my code is here