 	//draw_submenu();
 }
 
-void label_setup(int y_coord, char* letter){
-  while(*letter){
-    tft.setCursor(0,y_coord);
-    tft.printf("%c", *letter);
-    letter += 1;
-    y_coord += 8;
-  }
-}
+/*
+ * ECG_setup() - intialize ECG and HR interfaces
+ */
 void ECG_setup(){
-  tft.setCursor(BOXSIZE + 55, 30);
-  tft.setTextSize(1);
-  tft.println("HR (bpm) - ECG");
-}
+  createHLabel(BOXSIZE + 55, 40, ecgTitle, 1, ILI9341_WHITE);
+  createVLabel(0, 56, ecgLabel, 1, ILI9341_MAGENTA);
+  createVLabel(tft.width()-45, 60, hrLabel, 1, ILI9341_MAGENTA);
+  tft.setCursor(tft.width()-30, 60);
+  tft.setTextSize(2);
+  tft.println("60");
+}
+
+/*
+ * sp02_setup() - intialize sp02 and % saturation interfaces
+ */
+void sp02_setup(){
+  createHLabel(BOXSIZE + 55, 95, sp02Title, 1, ILI9341_WHITE);
+  createVLabel(0, 111, sp02Label, 1, ILI9341_CYAN);
+  createVLabel(tft.width()-50, 112, satLabel, 1, ILI9341_CYAN);
+  tft.setCursor(tft.width()-40, 116);
+  tft.setTextSize(2);
+  tft.println("97%"); 
+}
+
+void temperature_setup(){
+  createHLabel(BOXSIZE + 55, 150, tempTitle, 1, ILI9341_WHITE);
+  createVLabel(30, 171, farLabel, 1, ILI9341_GREENYELLOW);
+  createVLabel(tft.width()-120, 171, celLabel, 1, ILI9341_GREENYELLOW);
+  tft.setCursor(50, 175);
+  tft.setTextSize(2);
+  tft.setTextColor(ILI9341_GREENYELLOW);
+  tft.println("98.6");
+  tft.setCursor(tft.width()-100, 175);
+  tft.println("37");
+}
+
+void settings_setup(){
+    alarm_button.draw();
+    createHLabel(265, 210, alarmLabel, 1, ILI9341_BLACK);
+    createHLabel(265, 220, settingsLabel, 1, ILI9341_BLACK);
+}
+/*
+ * clearScreen(int color) - clear screen with specified color
+ */
 void clearScreen(int color){
     tft.fillRect(BOXSIZE,0,tft.width()-BOXSIZE,tft.height(),color);
 }

  gui_setup();
  product_title();  
  ECG_setup();
  tft.setTextColor(ILI9341_MAGENTA);
  label_setup(65, ecgLabel);
  tft.setTextColor(ILI9341_MAGENTA);
  label_setup(95, satLabel);
}

void loop(void) {


#include "interface.h"

#define ILI9341_GREENYELLOW 0xAFE5      /* 173, 255,  47 */
#define CS_TOUCH 8
#define CS_SCREEN  10
#define DC 9
