Update ThermoMood_Display.ino

This commit is contained in:
Ronnie 2025-06-26 20:48:05 -04:00 committed by GitHub
parent a14910c0d1
commit 3de64415b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,22 +36,72 @@ uint16_t getMoodColor(const char* mood) {
// Choose mood text based on input temperature (Fahrenheit)
const char* getMood(float tempF) {
if (tempF < 85) {
const char* moods[] = {"Are you even alive?", "Frozen in apathy", "Intern from the underworld", "Just cold hands or cold heart?", "CRASHING OUT"}; return moods[random(0, 5)];
const char* moods[] = {
"Are you even alive?", "Frozen in apathy", "Intern from the underworld", "Just cold hands or cold heart?", "CRASHING OUT",
"Brain freeze, spiritually", "Free trial expired", "Skeletal operation mode", "Soul buffering...", "No warmth detected",
"Winter is inside me", "Heartbeat optional", "Frosty but functional", "Shivering in lowercase", "Glacial thoughts",
"Is this Antarctica?", "Sentient popsicle", "Emotionally glaciated", "Frozen screen vibes", "Zero serotonin detected",
"Warmth not found", "Arctic chill mode", "Cardiovascular snooze", "Tundra-core", "Respawning from cold storage"
};
return moods[random(0, 25)];
} else if (tempF < 88) {
const char* moods[] = {"Quietly spiraling", "Coffee might help, but not really", "Low-power mode engaged", "Social battery: low", "Flatline on enthusiasm"}; return moods[random(0, 5)];
const char* moods[] = {
"Quietly spiraling", "Coffee might help, but not really", "Low-power mode engaged", "Social battery: low", "Flatline on enthusiasm",
"Gray scale emotions", "Sad Mac beep", "Existence.exe lagging", "No spark, just static", "Barely breathing",
"Soft quitting reality", "Drained and dull", "Ghosting everyone (including self)", "Snooze mode IRL", "Dimly aware",
"Where is my will to vibe?", "Running on nostalgia", "Manual override failed", "Dark mode mind", "Internally buffering",
"Echo chamber of meh", "Empty inbox, empty heart", "Is this thing on?", "Caffeine = personality", "2% battery remaining"
};
return moods[random(0, 25)];
} else if (tempF < 90) {
const char* moods[] = {"Classic cubicle-core", "Meh. Just meh.", "Functioning introvert mode", "Emotionally beige", "Dead inside, but on time"}; return moods[random(0, 5)];
const char* moods[] = {
"Classic cubicle-core", "Meh. Just meh.", "Functioning introvert mode", "Emotionally beige", "Dead inside, but on time",
"Mildly vibrating", "Calendar soul", "Background NPC energy", "Muted ambition", "Wednesday afternoon essence",
"Waiting for lunch", "Neutral and compliant", "Middle management mindset", "Auto-pilot enabled", "Email sent, soul left",
"One tab away from meltdown", "Performance review pending", "Just surviving", "At capacity", "Debugging existence",
"Snooze loop initiated", "Sleepwalking professionalism", "Deadpan default", "HR-safe chaos", "Corporate husk"
};
return moods[random(0, 25)];
} else if (tempF < 92) {
const char* moods[] = {"One deadline away from losing it", "Focused panic detected", "Productivity-induced suffering", "Almost emotionally present", "Running on fumes"}; return moods[random(0, 5)];
const char* moods[] = {
"One deadline away from losing it", "Focused panic detected", "Productivity-induced suffering", "Almost emotionally present", "Running on fumes",
"Stress-colored glasses on", "Thriving (but sarcastically)", "Too hot to handle deadlines", "Meetings are a fever dream", "Google Calendar warrior",
"Anxiously efficient", "Caffeinated dread", "Deadlines whispering", "Hyper-focus? Maybe.", "Did I send that email?",
"Frantically composed", "99 tabs open, 1 brain cell", "Ctrl+Alt+Stress", "Surviving on vibes & panic", "Deadline-driven drama",
"Multitasking disaster", "Red-alert mindstate", "Mental break loading...", "Rush hour upstairs", "Spicy brain activity"
};
return moods[random(0, 25)];
} else if (tempF < 94) {
const char* moods[] = {"Buzzing with existential dread", "Running on caffeine and vibes", "Possibly unraveling", "Caffeinated and dangerous", "Deadline ninja"}; return moods[random(0, 5)];
const char* moods[] = {
"Buzzing with existential dread", "Running on caffeine and vibes", "Possibly unraveling", "Caffeinated and dangerous", "Deadline ninja",
"Thermally unhinged", "Mood: Keyboard smash", "Side questing thru life", "Out-of-office inside", "May implode soon",
"System overheating", "Productive chaos", "Brain jammed in 4th gear", "Screaming (internally)", "Manager ping anxiety",
"Ctrl+Z for life", "Power surge personality", "Ctrl+Shift+Survive", "Overclocking the soul", "Heavy emotional packet loss",
"Workload tsunami", "High temp, low chill", "Crashing in style", "This is fine.exe", "Stress-induced charisma"
};
return moods[random(0, 25)];
} else if (tempF < 96) {
const char* moods[] = {"Overclocked human processor", "Might spontaneously combust", "TIME FOR YOU TO GO HOME", "Stop. Breathe. Panic again.", "Corporate martyr detected"}; return moods[random(0, 5)];
const char* moods[] = {
"Overclocked human processor", "Might spontaneously combust", "TIME FOR YOU TO GO HOME", "Stop. Breathe. Panic again.", "Corporate martyr detected",
"Flame-retardant personality", "Data corrupted by stress", "Close to meltdown", "Break glass for emotional support", "Nearing brain boil",
"Meme-ing through pain", "Slack screaming", "Too hot to work", "Charcoal soul", "Emotional core dump",
"Danger zone entered", "Ping me never", "Deadlines are lava", "Executive dysfunction maxed", "Infernal to-do list",
"Crispy aura", "Drenched in digital sweat", "Mental fan spinning fast", "Update delayed due to fire", "Red-alert mode"
};
return moods[random(0, 25)];
} else {
const char* moods[] = {"Go touch grass. Immediately.", "Check for open flames", "Thermally unstable coworker", "CRASHING OUT", "Return to sender (overheated)"}; return moods[random(0, 5)];
const char* moods[] = {
"Go touch grass. Immediately.", "Check for open flames", "Thermally unstable coworker", "CRASHING OUT", "Return to sender (overheated)",
"Brain soup mode", "Sizzling regrets", "Ashes of motivation", "Permanent vacation (from logic)", "Doomscrolling the sun",
"Burnout bonanza", "Toxic heat signature", "Emotionally flambéed", "Sunburnt thoughts", "Smoking productivity",
"Human volcano", "Too late to chill", "Fahrenheit 404", "Internally toasted", "This meeting is a sauna",
"Excessive self-heating", "Crash cart required", "Too much vibe, not enough AC", "Flare-up in progress", "Hot mess express"
};
return moods[random(0, 25)];
}
}
void setup() {
Serial.begin(9600); // Start serial for debugging
delay(500);
@ -66,7 +116,7 @@ void loop() {
static float tempSum = 0;
static int sampleCount = 0;
float tempF = thermocouple.readFahrenheit(); // Read current temperature
float tempF = thermocouple.readFahrenheit() - 7.0; // Read current temperature
tempSum += tempF;
sampleCount++;