5 C++-Example

The following source code is an example of an Ndigo6G-12 application written in C++. The source code is also available on our GitHub.

Source file

Description

ndigo6g12_example.cpp

Main source-code file of the example application.

ndigo6g12_app.h

Header file for classes for different Ndigo6G-12 application types and TDC setup.

ndigo6g12_adc_single.cpp

Implementation of application type NDIGO6G12_APP_TYPE_1CH.

ndigo6g12_adc_dual.cpp

Implementation of application type NDIGO6G12_APP_TYPE_2CH.

ndigo6g12_adc_quad.cpp

Implementation of application type NDIGO6G12_APP_TYPE_4CH.

ndigo6g12_adc_averager.cpp

Implementation of application type NDIGO6G12_APP_TYPE_AVRG.

ndigo6g12_tdc.cpp

Implementation of the TDC-class.

delay.h

Implementation for measuring delays.