#include <random> // for random number generation
#include <chrono> // for time-based seed
#include <thread> // for sleep
#include "tm1637.h" // Include appropriate TM1637 library if available
int main() {
// Setup TM1637 display
// tm1637::TM1637 display(clk_pin, dio_pin);
// Display initialization messages
// display.scroll("Pico Thermometer", 200);
// std::this_thread::sleep_for(std::chrono::seconds(1));
// display.show(" ");
// std::this_thread::sleep_for(std::chrono::seconds(1));
// Setup random number generator
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<> temp_dist(10, 25);
while (true) {
int temp = temp_dist(gen); // Generate a random temperature value
// display.temperature(temp); // Replace with appropriate display function
// std::this_thread::sleep_for(std::chrono::seconds(10));
}
return 0;
}