/* Main program entry point. After reset, normal code execution will begin here.  */
int main(void)
/* Main program entry point. After reset, normal code execution will begin here.  */
int main(void)
{
  systemInit();
  uint16_t lumMixed, lumInfrared;
  while (1)
  {
    tsl2561GetLuminosity(&lumMixed, &lumInfrared);
    printf("Luminosity: \r\n  Broadband (Visible + IR) - %d \r\n  Infrared - %d \r\n", lumMixed, lumInfrared);
    systickDelay(1000);
  }
  return 0;
}