RPi1.c updated

CSV should be written on socket now.