How do I loop through the digital pins?

Check this out: https://github.com/WildernessLabs/Meadow_Samples/blob/master/Source/MeadowSamples/GpioInterrogation/GpioApp.cs

If they’re a digital pin, it’ll have an IDigitalChannelInfo.