Working C code that will indicate in the switch case if you're going forward/backward and will cancel on "q" (quit). Will continue coding to implement with the USB Serial Controller.