Data acquisition with the AD7705 on the raspberry PI
AD7705callback Class Referenceabstract

Callback for new samples which needs to be implemented by the main program. More...

#include <AD7705Comm.h>

Public Member Functions

virtual void hasSample (float sample)=0
 Called after a sample has arrived. More...
 

Detailed Description

Callback for new samples which needs to be implemented by the main program.

The function hasSample needs to be overloaded in the main program.

Member Function Documentation

◆ hasSample()

virtual void AD7705callback::hasSample ( float  sample)
pure virtual

Called after a sample has arrived.

Parameters
sampleContains the ADC reading in Volt.

The documentation for this class was generated from the following file: