SimpleFOClibrary  2.1
current_sense/hardware_api.h File Reference

Go to the source code of this file.

Functions

float _readADCVoltage (const int pinA)
 
void _configureADC (const int pinA, const int pinB, const int pinC=NOT_SET)
 

Function Documentation

◆ _configureADC()

void _configureADC ( const int  pinA,
const int  pinB,
const int  pinC = NOT_SET 
)

function reading an ADC value and returning the read voltage

Parameters
pinA- adc pin A
pinB- adc pin B
pinC- adc pin C

Definition at line 43 of file current_sense/hardware_specific/generic_mcu.cpp.

◆ _readADCVoltage()

float _readADCVoltage ( const int  pinA)

function reading an ADC value and returning the read voltage

Parameters
pinA- the arduino pin to be read (it has to be ADC pin)

Definition at line 36 of file current_sense/hardware_specific/generic_mcu.cpp.