DATN macro added
Upgrade IOPort and terminal
Devices refactored
Interrupt flag added
Speed measuring fixed