An iroh powered smart fan

(iroh.computer)

24 points | by surprisetalk 3 days ago

1 comments

  • shermantanktop 2 minutes ago
    This is interesting as an example of just how complicated and elaborate a toolchain you can use to build something dead simple.

    There’s a lot that comes for free by adding all these libraries and crates and steps. But from what I can tell it comes down to:

    let _ = if fan_on { fan.set_high() } else { fan.set_low() };