/* * Wrapper Function of getMagValue. It waits until the ADC completes the conversion. * */ double AD5933_Class::getMagOnce() { while (!isValueReady()) // wait until ADC conversion is complete. { //delay(delayTimeInit); ; } return getMagValue(); }
double AD5933_Class::getMagOnce() // Wrapper Function of getMagValue. It waits until the ADC completes the conversion. { while (!isValueReady()) // wait until ADC conversion is complete. { //delay(delayTimeInit); ; } return getMagValue(); }