|Top Previous Next|
Allows reading and writing the I/O pins.
The WebCell has 16 general-purpose I/O pins, eight on PortA (A0 - A7) and eight on PortB (B0 - B7). Individual pins can be set to input or output using the direction property. Logic levels on the pins can be read and written with the pins property. Input pull-ups can be enabled with the pullup property, allowing an input to be used with a switch to ground without an external pull-up.