servo sample updated as tim class upgrade