code: function basalLookup() {
      var now = new Date();
      basalRate = Math.round(basalprofile_data[basalprofile_data.length-1].rate*100)/100
      
      for (var i = 0; i < basalprofile_data.length - 1; i++) {
          if ((now >= getTime(basalprofile_data[i].minutes)) && (now < getTime(basalprofile_data[i + 1].minutes))) {
              basalRate = basalprofile_data[i].rate.toFixed(2);
              break;
          }
      }
  }
docs: /* Return basal rate(U / hr) at the provided timeOfDay