Added expansion module

Added ability to use expansion port as digital outputs.