I am running a last step of dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging.pdf. The last step requires me to run python script of the Adafruit_DHT_googledocs.ex.py . After typing python Adafruit_DHT_googledocs.ex.py I received a following error message.
bcm2835_init: Unable to open /dev/mem: Permission denied
Traceback (most recent call last):
File "Adafruit_DHT_googledocs.ex.py", line 44, in <module>
output = subprocess.check_output(["./Adafruit_DHT", "2302", "4"]);
File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['./Adafruit_DHT', '2302', '4']' returned non-zero exit status 1
I am new to python. I know that my device is working and communicate with the rpi . The last step is to communicate dht22 with rpi and google spreadsheet.
I assume that python script has error or some other process is missing something to do with bc2835. Another issue could be directories?
Any ideas are appreciated.