#include <DHT.h>
#define DHT_PIN 28
#define DHT_TYPE DHT22
DHT dht(DHT_PIN, DHT_TYPE);
void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
dht.begin();
}
void loop() {
float temp = dht.readTemperature();
Serial1.print(F("Temp: "));
Serial1.println(temp);
delay(1000);
}