Completed removal of Arduino digital IO code.  Removed Arduino dependencies for delay functions.