dht22 on BeagleBoard Black

I want to connect a Adsong dht22 (am2302) to the BBB. I have tried various C projects without much success. After wrestling though compile errors, etc, I still don’t have a working solution. What language / script would you recommend for a simple application of an Temp/RH sensor on the BBB? Any links to working code would be greatly appreciated!

Thanks

No idea if you've tried it or not, but there's a kernel driver here
https://gitorious.org/dht22-driver/dht22-driver/source/6e32bfc31de1e96c550b7678474ddcfa6f61336e:

There are a number of humidity sensors supported directly by the kernel
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/sht15.c
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/sht21.c
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/hih6130.c

Using one of those would provide you with a tested and working solution.

It all depends though, what do you want to get from the experience? Do you simply want it to work, or do you want to learn how to get it working yourself?