Thanks for your attempts at helping. Turns out it was not a software issue! I had the DHT11 wired incorrectly, which was why the software would not work when I tried to read the DHT. The issue is now solved.
Thanks for your attempts at helping. Turns out it was not a software issue! I had the DHT11 wired incorrectly, which was why the software would not work when I tried to read the DHT. The issue is now solved.