Exemple #1
0
/*
 * 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();
}
Exemple #2
0
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();
}