unosquare / wiringpi-dotnet

Provides complete managed access to the popular wiringpi C library
MIT License
68 stars 13 forks source link

Raspberry pi 4 gpio support #26

Closed andre-grasman closed 4 years ago

andre-grasman commented 4 years ago

Updated the internal libwiringPi.so.2.50 to 2.52 (support for pi 4). The newer version was grabbed from the .deb file posted by Gordon Henderson (http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/).

My small test of reading the GPIO worked with this fix. However, please test it yourself before putting your trust to it. The .so file is just replaced with the new one.

geoperez commented 4 years ago

Thanks for your contribution, @k3z0 can you take a look, please?

k3z0 commented 4 years ago

It looks ok, we only need to test it in a Raspberry 4.

geoperez commented 4 years ago

@andre-grasman do you have a pi 4?