I am receiving an "Does not name a type" error on the Above mentioned sketch on the following line
#define dht_dpin A1 //no ; here. Set equal to channel sensor is on
dht DHT;
Yes....show the code (in code brackets....three dots in reply menu, more options (<>)....) that you are referring to.......
Most here are good, but not so good as to suggest changes or problems with code they cannot see.