// A program to test motor code's interaction with kbhit(). #include #include #include "motors.h" main() { Motors motors; while(!kbhit()); getch(); motors.init(); while(!kbhit()); getch(); motors.halt(); }