Safely Program  H-Bridge Motor Controller