Datasheet

keyestudio
www.keyestudio.com
and 0 being very dark.
****************************************************
int temt6000Pin = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
int value = analogRead(temt6000Pin);
Serial.println(value);
delay(100); //only here to slow down the output so it is easier to read
}
****************************************************
Example Result
Wiring well and uploading the code above, open the serial monitor of
Arduino software.
Then cover the sensor with your hand or a paper, the light becomes weak,
finally you will see the value showed on monitor decrease.