dotnet / iot

This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.
MIT License
2.12k stars 574 forks source link

logical GPIO #2284

Closed XiaoBaiXJ closed 4 months ago

XiaoBaiXJ commented 4 months ago

My logical GPIO pins are more than 32, but when I run the code and input a number greater than 32, the system reports an error. Why is this happening?

Ellerbach commented 4 months ago

Can you please give more details on which board you are using, the driver used, and any other information that can help understaing your issue?

XiaoBaiXJ commented 4 months ago

In an ARM64 environment with .NET 7, attempting to use a GPIO logical pin number greater than 31 results in a warning that the pin is not found / ![Uploading 微信图片_20240227100239.png…]()

Ellerbach commented 4 months ago

Can you please give us details? You tried to upload a picture which has not been uploaded. And also please give details about the hardware, the driver you are using, what is installed

XiaoBaiXJ commented 4 months ago

pic Use .Net7 ARM64

XiaoBaiXJ commented 4 months ago

If the input GPIO logical port exceeds 31, the system will report an error with a "Segmentation fault".