G400 - Cannot use GHI.Pins.G400D.Gpio.PD2

Getting exception in port constructor. Doesn’t matter what type of port (Input or Output) I try to initialize.

Microsoft.SPOT.Hardware.Port::.ctor
Microsoft.SPOT.Hardware.InputPort::.ctor
Microsoft.SPOT.Hardware.InterruptPort::.ctor

See here. I had this issue. Make sure you are not calling the touch initialise function.

https://www.ghielectronics.com/community/forum/topic?id=15080

1 Like

Yep, same issue. I’m calling it. Thanks!

1 Like