 #ifndef __PULSE_OX__
 #define __PULSE_OX__ 1
-
-
 
 float InputPin = A0; // Analog input pin from output of op amp
 float sensorVoltage = 0;

int LEDIR=D1;
bool red_state;
bool ir_state;

#include<math.h>


// Changes which LED to shine
void change_led_type()
{
  if(state_diag)
  {
    red_state = true;
    ir_state  = false;
  }
  else
  {
    red_state = false;
    ir_state  = true;
  }
  state_diag  = !state_diag;
}

#endif
