change codes in rpi
Single file: rpi connecting to 3 devices