   Tsunami.reset(true); Tsunami.reset(false);
   delay(100);
   assert_nearly_equal("input_freq_1m", (int32_t)Tsunami.measureFrequency(), 1000000l, 2l);
-  assert_nearly_equal("input_phase_1m", (int16_t)(1000 * Tsunami.measurePhase()), 730, 50);
+  assert_nearly_equal("input_phase_1m", (int16_t)(1000 * Tsunami.measurePhase()), 1000, 50);
 }
 
 test_t tests[] = {

  int offset = Tsunami.measureCurrentVoltage();
  Tsunami.setOffset(-1000);
  delay(200);
  assert_nearly_equal("output_offset_neg", Tsunami.measureCurrentVoltage(), offset - 1325, 75);
  Tsunami.setOffset(1000);
  delay(200);
  assert_nearly_equal("output_offset_pos", Tsunami.measureCurrentVoltage(), offset + 1325, 75);
  return true;
}


  Tsunami.setFrequency(32768);
  Tsunami.setAmplitude(6000);
  delay(500);
  assert_nearly_equal("input_amp_6", Tsunami.measurePeakVoltage(), 3048, 100);

  // TODO: Figure out why we don't get consistent values for this reading
  Tsunami.setAmplitude(1000);
