switched to built in sprintf, printing out encoder ticks