mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
6153ff788d
commit
efe20c984c
@ -48,8 +48,9 @@ void TaskSensorValuesCode (void* parameters) {
|
||||
// ADC GPIO1
|
||||
light_sensor_reading = analogRead(ADC1);
|
||||
Serial.print("Light:\t\t\t");
|
||||
Serial.println(light_sensor_reading);
|
||||
Serial.println("");
|
||||
Serial.print(light_sensor_reading);
|
||||
Serial.print("\t");
|
||||
Serial.println(lighting_percentage);
|
||||
vTaskDelay(pdMS_TO_TICKS(5000));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user