42 #include "dev/sht11.h"
46 PROCESS(test_sht11_process,
"SHT11 test");
47 AUTOSTART_PROCESSES(&test_sht11_process);
58 printf(
"Temperature: %u degrees Celsius\n",
59 (
unsigned) (-39.60 + 0.01 * sht11_temp()));
60 rh = sht11_humidity();
61 printf(
"Rel. humidity: %u%%\n",
62 (
unsigned) (-4 + 0.0405*rh - 2.8e-6*(rh*rh)));