 #include "LowPower.h"   // RocketScream library so so we can use low-power sleep for timing delays
 #include "charlieplexing.h"  //Charlieplexing library for a six LED display
 
+const int lightThreshold = 200;  // LDR values > 200 indicate it's not dark out anymore
+const int LDRinputpin = 0;  // make this a constant, so if we have to change it later, it'll be easy
 
 void setup()
 {

    LowPower.idle(SLEEP_1S, ADC_OFF, TIMER2_OFF, TIMER1_OFF, TIMER0_OFF, 
                SPI_OFF, USART0_OFF, TWI_OFF);
              
  }   // let's do another flash cycle because the for(;;) loop runs forever


}   // end of the void loop()

void loop()   // Let's do this thing
{
    
  //for(;;)   // this might be redundant with the void loop() above -- test later when I'm not waiting at the airport...
  
while(analogRead(A0) < lightThreshold)  // if the LDR value is < lightThreshold, it's night so we flash the LEDs
  {
    setLED(1);    // turn LED 1 on; low-pwr sleep for 60mS
    //delay(65);
