Did you use 100nF capacitor as mentionned in DHT22 datasheet?
Edit: there's a guy here that gets only 21 elements, sounds like a similar issue:
http://www.picaxeforum.co.uk/showthr...22-Please-Help
Edit 2: this is in C, but read the blog at top. Has several interesting comments.
http://blog.ringerc.id.au/2012/01/us...ht-22.html?m=1
Can you run faster than 4mhz? Can you use internal osc instead? 18F generally can go quite fast.
Robert
Bookmarks