Main Site Documentation

G400D failure to set PIN.D2


#1

I am trying to configure PIN D2 as an output and when I use the following call, the software reports that the pin as CLR_E_PIN_UNAVAILABLE (3).

I am not using it anywhere else in my code and the G400 docs show it as unused.


modemEnPwr = new OutputPort(GHI.Hardware.G400.Pin.PD2, false);


#2

Is this a gadgeteer project?


#3

Nope.


#4

I see it now. It’s part of the touch interface. Of course, ChipworkX was SPI. :frowning:

I took out the call to GlideTouch.Initialize() and now it works. My touch still works because I pass in the calls via the driver.