Hi Folks,
I was just wondering if there was a way to shutdown the raspberry pi using Processing (or a way to have Processing run the ‘sudo shutdown’ command in Terminal).
Use case: Have a GPIO button on pi that when pressed stops the Processing sketch and shuts down the pi.
Thanks!