예제 #1
0
def run_adc_calibration():
    log.section("Calibrating ADC")

    adc_calibration.run(
        num_calibration_points=20,
        sample_count=128,
        strategy="adc",
        save=True,
    )
예제 #2
0
def run_afe_calibration():
    log.section("Calibrating AFE")

    adc_calibration.run(
        num_calibration_points=50,
        sample_count=128,
        strategy="afe",
        save=True,
    )
def run_adc_calibration():
    log.section("Calibrating ADC")
    # TODO: copy over Sol's code.

    adc_calibration.run(
        num_calibration_points=50,
        sample_count=128,
        strategy="adc",
        save=True,
    )
def run_adc_calibration():
    print("========== CALIBRATING ADC ==========")
    # TODO: copy over Sol's code.

    input("Connect Sol output A to Gemini CV A, press enter when ready.")

    adc_calibration.run(
        calibration_points=50,
        sample_count=128,
        adc_range=6.0,
        adc_resolution=2**12,
        adc_channel=0,
        invert=True,
        save=True,
    )