add pyton program to control motor