mirror of
				https://github.com/alexandrebobkov/ESP-Nodes.git
				synced 2025-11-04 03:18:27 +00:00 
			
		
		
		
	sensor
This commit is contained in:
		@@ -81,7 +81,7 @@ void print_sensors_task(void *arg)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    while (1) {
 | 
					    while (1) {
 | 
				
			||||||
        // Print the values to the serial console
 | 
					        // Print the values to the serial console
 | 
				
			||||||
        printf(" Temp: %.1f, Humidity: %.2f, Pressure: %.2f \n", temperature, humidity, pressure);
 | 
					        printf(" Temp: %.1f, Humidity: %.1f, Pressure: %.0f \n", temperature, humidity, pressure);
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        vTaskDelay(2500/portTICK_PERIOD_MS);
 | 
					        vTaskDelay(2500/portTICK_PERIOD_MS);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user