Problem in arduino UNO while controlling BLDC motor