Hello Community
I'm a total newbie and so forgive me for asking something that maybe is clearly impossible or super trivial..
with the new model of the Raspberry PI Zero, the W model, with built-in Wi-Fi and Bluetooth, would it be possible to "easily" add a tactile button on the side of the case to turn on/off this connectivity? And hook it on some of the GPIO pins of the RP.. or something like that
Because that would be neat.. since I ordered it for my GBZ build
Thank you!
Raspberry PI Zero W Question
- drafterITA
- Posts: 120
- Joined: Fri Feb 24, 2017 8:15 am
- Location: Italy
- Has thanked: 66 times
- Been thanked: 19 times
- Contact:
Re: Raspberry PI Zero W Question
Should be doable by reading GPIO state and short script using "sudo ifconfig wlan0 down". Might need to reboot to bring wifi back up though. I'm sure a better command might be found without the reboot but that would be the gist of it.
Who is online
Users browsing this forum: No registered users and 1 guest