AnsweredAssumed Answered

GPIO Methods not working using eGUI

Question asked by Elisa Mejia on Jan 12, 2016
Latest reply on Jan 21, 2016 by Elisa Mejia



I've been working in a program using TWR-LCD-RGB (with eGUI) and TWR-K70 development kit. I need to change some objects in the user interface whenever a button is pushed. However, when I try to use the GPIO components available in Processor Expert (BitIO and Init_GPIO as shown in Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse )  several errors are reported, all of them regarding the definition of the methods of these GPIO components, as GetVal() or NegVal(). The exact error indicates, for example, that in the Component SW1 (BitIO) the method SW1_GetVal() in undefined. These error, nevertheless, are not present when the exact same code is used without the eGUI.


I'm not sure why this is happening but it happens in several projects that I have done using eGUI.


Can anyone explain this problem to me, and hopefully help me to solve it?