help for newbie with existing code for brushless motors