[root@buttercup wsmonitor]# cc -c wsmonitor.c pipe.c serial.c && cc -o wsmonitor wsmonitor.o pipe.o serial.o [root@buttercup wsmonitor]# ./wsmonitor FF FF FF FF E 48 54 27 Packet Type: Base Station Minute FF FF 0 0 33 82 1 22 0 23 F9 Packet Type: Wind FF FF 1 0 0 50 0 0 0 0 0 0 1 1 99 EA Packet Type: Rain FF FF 0 0 58 62 3 22 0 21 FE Packet Type: Wind FF FF 3 1 34 2 28 4 64 Packet Type: Outdoor Thermometer Hygrometer FF FF 6 40 31 2 40 9 0 30 0 0 6 F6 Packet Type: Indoor Thermometer Hygrometer Barometer 2 FF FF 2 2 10 2 40 7 5B Packet Type: Indoor Thermometer Hyrometer FF FF 0 0 33 82 1 22 0 23 F9 Packet Type: Wind