 
 
 // Methods
-bool readSensorData(float* temperature, float* humidity) {
+bool readSensorData(float* temperature, float* humidity, uint16_t* brightness) {
     const uint8_t SENSOR_READING_ATTEMPTS = 3;
     const uint8_t SENSOR_READING_INTERVAL = 3 * 1000;
 

    // Read sensor data
    float temperature = NAN;
    float humidity = NAN;
    bool sensorReadingSuccessful = readSensorData(&temperature, &humidity);

    // Log sensor data
    bool dataLoggingSuccessful = false;

const char* UBIDOTS_TOKEN = "";           // Ubidots token (secret)
const char* UBIDOTS_ID_TEMPERATURE = "";  // Ubidots temperature source id
const char* UBIDOTS_ID_HUMIDITY = "";     // Ubidots humidity source id
const char* UBIDOTS_ID_BRIGHTNESS = "";   // Ubidots brightness source id


// Initialization
