Q: How can I use digital I/O ports under Windows CE?
Most ADS digital I/O lines can function as either inputs or outputs (consult your product's User's Manual for electrical specifications). You can configure a line as output and set its value by writing a 1 or 0 to the appropriate CE port, or you can configure the port as input and read its value by reading from the port.