send to the pi
catching rpio errors