The BitsyX exposes two processor GPIOs (80 and 33) on connector J7..13 and J7..14 respectively. See topic 884 for further details.
BitsyXGPIO is a class that can be used to control the state of these lines and an example of usage is included (BitsyXGPIOTest.cpp).
WARNING These connector pins run directly to the processor and have absolutely no electrical protection designed in. Improper voltage or ESD on these lines can easily damage the device processor so take care when connecting and using these lines!