Can analog pins be used as digital?

Thanks both of you. :slight_smile: