But my problem is with logging the data not the clock.
I'm also getting this error and I don't understand because I have the DHT.h file installed
Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\Jeffs64\Downloads\FTWOQI2IYGFM1SH\FTWOQI2IYGFM1SH.ino:1:17: fatal error: dht.h: No such file or directory
#include <dht.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
Invalid library found in C:\Users\Jeffs64\Documents\Arduino\libraries\Arduino-Library-master: C:\Users\Jeffs64\Documents\Arduino\libraries\Arduino-Library-master
Invalid library found in C:\Users\Jeffs64\Documents\Arduino\libraries\doc: C:\Users\Jeffs64\Documents\Arduino\libraries\doc
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.