jmp407 / Nam2302Tst

Test scripts for reading and manipulating the DHT22 data
0 stars 0 forks source link

wiringPiSetup: Unable to open /dev/mem: Too many open files #1

Closed jmp407 closed 10 years ago

jmp407 commented 10 years ago

This happens after about 1000 reads of the DHT22/am2302.

jmp407 commented 10 years ago

Best way I've found to fix this is to use a child process to read the DHT22/am2302 (using wiringPi) and exit the process after each read. This works well on a 6 sec cycle so far.