src/Sensor.cpp
/// <summary>
/// Gets a single, current sensor reading.
/// </summary>

Gets a single, current sensor reading.
Gets a single current sensor reading .
int Sensor::get()  {
	this->isRunning = true;
	int result = sensorAction(Once);
	this->isRunning = false;
	return shield.block(result, onEvent == NULL);
}
int Sensor :: get ( ) { this -> isRunning = true ; int result = sensorAction ( Once ) ; this -> isRunning = false ; return shield . block ( result , onEvent == NULL ) ; }
<summary>
Gets a single, current sensor reading.
<summary > Gets a single current sensor reading .