Open SloMusti opened 6 years ago
Add a timeout for RPi to boot, best is that on-time timer starts working immediately when the pin is set to high. If it fails to boot, then shutdown occurs after the on period expires.
https://github.com/IRNAS/pira-smart-firmware/blob/develop/src/RaspberryPiControl.cpp#L39
Test it with hex I have provided to you.
Branch: develop SHA1: 76ddc7f0a7295a9fe3ad6b4b951b8a4ab2881eaf
Add a timeout for RPi to boot, best is that on-time timer starts working immediately when the pin is set to high. If it fails to boot, then shutdown occurs after the on period expires.
https://github.com/IRNAS/pira-smart-firmware/blob/develop/src/RaspberryPiControl.cpp#L39