HiWorks great. Was able to both use ports as input and output.I just have two more questions:1) I was able to control the ports via command line, but I need to be able to get the readings in such a way that I can check them while running my code. Meaning I need to know how to refer to them from a cpp file, since I need an "if" statement to determine the ports' value. How can this be done?
2) I might also need in addition to this, a UART interface. Is this possible somehow? Even though the serial port exists, I read in many places that it is only possible to use it for getting access of the command line and not for UART. I basically need to connect a compass to the gumstix as well.