Started some DHT22 stuff

Haven't tested it at all
This commit is contained in:
2023-10-23 22:34:21 +01:00
parent c91a8fc729
commit 6b9ec20b72
3 changed files with 42 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
void app_main(void)
{
int ret = dht_read();
int ret = dht22_temperature();
printf("Hello world! - dhtRet: %i\n", ret);
for (int i = 10; i >= 0; i--) {
printf("Restarting in %d seconds...\n", i);