Sending Data Frames in a single block for speed

no matching function for call to 'HardwareSerial::write(double [128], int)

The write function takes an array of bytes. You are trying to feed it an array of doubles.