Can the Analog pins be used as digital I/Os

Thats correct.