   Serial.println(bloodOx);
 }
 
+// Changes which LED to shine
 void change_led_type()
 {
     if(state_diag)

    state_diag  = !state_diag;
}

void call_connect()
{
  Particle.connect();
}

int LEDIR=D1;
bool red_state;
bool ir_state;

#include<math.h>

