This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define APP_DELAY (15 * 60 * 1000) | |
#define MAX_LIGHT_VALUE 12 | |
#define LDR_PIN A7 | |
// Sensor reading | |
int reading = 0; | |
char szValue[MAX_LIGHT_VALUE]; | |
void setup(void){ | |
Serial.begin(9600); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adadruit_TCS34725.h | |
/**************************************************************************/ | |
/*! | |
@file Adafruit_TCS34725.h | |
@author KTOWN (Adafruit Industries) | |
@section LICENSE | |
Software License Agreement (BSD License) |