show the wave of gpio with it correspond time
Simplified code by deleting some useless function.
delete some unnecessary code
calculate hight ratio of right motor

with a new function ratio_count()