I'm running a simple script that checks every second the satus of a GPIO.
There is a PIR Sensor connected to this pin.
But after about 3 to 4 days my pi dies and have to pull out the power en put in back in.
When he dies, i can't reach him via SSH or look at the GUI what is wrong because i get a black screen.
Checking the /var/log/messages also doesn't give me anymore information?
Anyone knows how to fix this problem ?