After around 2 minutes of good operation, I get this error.
open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.wiring at pin 50.
wiringPiSetup: Unable to open /dev/mem: Too many open files
...
wiring at pin 50.
wiring at pin 50.
wiring at pin 50.
wiring at pin 50.
wiring at pin 50.
wiring at pin 50.
wiring at pin 50.
open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.open /dev/mem failed.wiring at pin 50.
wiringPiSetup: Unable to open /dev/mem: Too many open files
What could be the cause? This will somehow become a reliability issue.
After around 2 minutes of good operation, I get this error.
Here's my source code:
And here's the result until the error:
What could be the cause? This will somehow become a reliability issue.