Updated Arduino code to test motor control via keyboard serial