void setLEDCurrents(int _redLedCurrent, int _irLedCurrent) { writeRegister('LED1_PULSE_AMPLITUDE', _redLedCurrent, true); writeRegister('LED2_PULSE_AMPLITUDE', _irLedCurrent, true); }