Main Site Documentation

How to use EMX LCD pins as GPIO


#1

I just got a few EMXs recently and changed the firmware to 4.1.8 since some of my applications were built for this version in the past. Then I found that all the pins used for LCD could not be used as GPIO anymore, if I open any one of the pins as a digital IO, say IO69, then I will get the pin unavailable exception. I went through almost all the pins at the bottom of EMX, and got the same exception each time.

My PCB board was printed already, how could I disable the LCD pins and use them as GPIO in EMX.

Thanks a lot
Leon


#2

Check this thread:

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

there is an option that will allow you to do that.

GHIElctronics.NETMF.Hardware.Configuration.LCD.Set(LCD.HeadlessConfig)

Make sure to read the full thread.


#3

That solves the problem. Thanks a lot


#4

You are welcome!