DSCSAM_DIOConfig
This function sets the digital I/O port direction, pull and drive configuration for the selected port.
Name | Description |
Port | 0-1 for port A, B for Elton, Stevie & Jethro 0, 1 and 2 for port A, B and C for Ziggy |
Pull | 1 = pull up, 0 = pull down |
Drive | 1 = high, 0 = normal |
Dir | 1 = out, 0 = in |
Return Value |
Error code or 0. |
Last updated