// Copy to a NEW sketch SonarCapture. Keep BOTH motor power branches disconnected.
// Mega USB Serial Monitor 115200; sonar TX -> RX1 D19 only after voltage verification.
// If output is garbage or empty, change SONAR_BAUD below to 9600 and retry. Use the working value in Config.h.
const unsigned long SONAR_BAUD=115200;
void setup(){Serial.begin(115200);Serial1.begin(SONAR_BAUD);}
void loop(){while(Serial1.available()){byte b=Serial1.read();if(b<16)Serial.print('0');Serial.print(b,HEX);Serial.print(' ');}}
