A Linux serial port test program in c i used on my pi