PortTest is an application that allows you to toggle all system IOs reachable by Windows CE Port Name. This provides not only a good test utility, but an example of using UCB1200 and other IOs with eMbedded Visual Basic.
(screen capture does not show addition of Bitsy Plus in rev 3)
The J1 contact closure is event driven in the newer builds of CE. See the following Topic for more information:
topic.asp?TOPIC_ID=155
For the Graphics Master, GPI2: and GPI3: Drive GPIOs 25 and 26 respectively as shown in the CE Developer's Guide addendum table. LED2: and LED1: also drive these same GPIOs (on the Graphics Master). See the following Topic for more information:
topic.asp?TOPIC_ID=205
The UCB1200 Digital IOs listed in topic.asp?TOPIC_ID=298 are correct. The Graphics Master manual lists UCB_IO5-9 in reverse order (ascending by pin instead of signal name) and that may be causing some confusion.
AIN1: through AIN4: are analog inputs and you are correct that they only have meaning when read (though writing to them will not cause an error). The PortTest application has them in the Port list anticipating a future version that will allow both input from and output to the ports.
----------------- Chris Tacke, eMVP Applied Data Support
We do not have a C++ version of PortTest. For a basic test application, you can modify the Heartbeat sample application by changing the port name from "LED1:" to the port you wish to test.
----------------- Chris Tacke, eMVP Applied Data Support
We've added the ability to change the high/low duration and duty cycle of the port toggle so you can now use PortTest as a rudimentary square-wave function generator.
----------------- Chris Tacke, eMVP Applied Data Support