591
Sleep() at home (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Darkassassin07@lemmy.ca 1 points 7 months ago

But then I gotta buy a space heater too...

[-] YIj54yALOJxEsY20eU@lemm.ee 4 points 7 months ago

Microcontrollers run 100% of the time even while sleeping.

[-] towerful@programming.dev 4 points 7 months ago

Nah, some MCUs have low power modes.
ESP32 has 5 of them, from disabling fancy features, throttling the clock, even delegating to an ultra low power coprocessor, or just going to sleep until a pin wakes it up again. It can go from 240mA to 150uA and still process things, or sleep for only 5uA.

[-] YIj54yALOJxEsY20eU@lemm.ee 3 points 7 months ago* (last edited 7 months ago)

Nah, Sleeping != Low power mode. The now obsolete ATmega328 has a low power mode.

this post was submitted on 24 Jan 2024
591 points (97.4% liked)

Programmer Humor

19197 readers
1395 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS