Can someone help me with my dht22(again)

after the master el_supremo's helping, my lcd is a little bit like broken so I decided to make my ardwether (arduino + weather :stuck_out_tongue: ) with my 4 in 1 7 segment display.
that's it and here is the error:

sketch_sep09b:33: error: expected primary-expression before '.' token

 int chk = dht.read(dht22pin);

                   ^

exit status 1
expected primary-expression before '.' token

please help me thank you masters! :slight_smile:

file of my ardweather

ardwether.ino (23.1 KB)

dht dht22;

...

int val = dht.read(dht22pin);

You called your variable dht22 and not dht.