#include "ir_sensor.h" //----------------------------------------------------------------------------- uint16 IR_Sensor::GetIRIntensity() { if(!parent) return 0; return parent->GetADCValue(channel); }