Is it possible to power-off or shutdown the fez cobra by code? I’ve tried the powerstate method but the the systems seems only to stop responding and freezes to screen.
I don’t think that is possible without extra hardware.
You could add a set / reset circuit. Connect power button to set, and fez I/O to reset. Let the circuit control a relais that switches the power.
FEZ Cobra can hibernate if that helps. You can define how you want it to wake up through GPIO or Alarm timer.
I think for now, I go for the hibernate option. In the near future I want to implement a set / reset circuit. Thx for the quick responses!!