How to shutdown Pi from Visual Basic 2017 Code
Posted: Tue Feb 05, 2019 4:03 am
Hi, I've been searching for how to shutdown my Pi from Visual Basic 2017 code without success.
I have an app I have developed that will run when the Pi boots up and when a specific GPIO pin detects a switch closure I want to shut down the Pi.
I'm reading/writing GPIO pins just fine from VB. My issue is the coding to invoke shutdown.
Does anyone have any experience getting the Pi to shutdown/reboot from a Visual Basic app?
Cheers.
I have an app I have developed that will run when the Pi boots up and when a specific GPIO pin detects a switch closure I want to shut down the Pi.
I'm reading/writing GPIO pins just fine from VB. My issue is the coding to invoke shutdown.
Does anyone have any experience getting the Pi to shutdown/reboot from a Visual Basic app?
Cheers.