The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
use constant {
SENSOR_PIN => 4,
FAN_PIN => 1,
HUMIDIFIER_PIN => 6,
};
my $env = RPi::DHT11::EnvControl->new(dht_pin => SENSOR_PIN);
sleep 10;