You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
The module installs fine on Raspberry Pi 4, but it's not actually possible to interact with GPIO. Error message after running Get-GpioPin:
Unable to determine hardware version. I see: Hardware : BCM2711
,
expecting BCM2708, BCM2709 or BCM2835.
If this is a genuine Raspberry Pi then please report this
to [email protected]. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
JetzeMellema
changed the title
Using old version of WiringPi breaks Pi4 compatibility
Relying on old version of WiringPi breaks Pi4 compatibility
Nov 13, 2020
An updated version of the module is in the repo (it uses .NET APIs instead of WiringPi), but not yet on PS Gallery.
For now, just clone the repo onto Pi4 and it should work: git clone https://github.com/PowerShell/PowerShell-IoT.git
and then in PS import module with Import-Module ./src/Microsoft.PowerShell.IoT/Microsoft.PowerShell.IoT.psd1
Hello,
At the link above only Raspberry Pi 2 and 3 are mentioned as supported.
I've try to Import the updated version of module, it is on different directory, than your example and failed with the following error:
The module installs fine on Raspberry Pi 4, but it's not actually possible to interact with GPIO. Error message after running Get-GpioPin:
This is caused by an older version of WiringPi that doesn't recognize the updated hardware in the Raspberry Pi 4. The author published a newer version (2.52) that adds support for the Pi 4: http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/
I installed this version on my Pi and can confirm with gpio -v:
This does not resolve the issue, the cmdlets still fail. It would be great if this module could support the latest WiringPi version.
The text was updated successfully, but these errors were encountered: