Hi, 
  In NXT-G there is a Rotation Sensor Block that contain a Rotation Counter that can be Reset by the user.
  I am trying to do the same in NXC but I have some doubts.
 reading API documentation I have found that OnFwdEx() could reset the counter. But I am surprised because It seems that there are more than one Counter (RESET_COUNT, RESET_BLOCK_COUNT, RESET_ROTATION_COUNT)
  Which of them I should use (I mean, which is the same that It is used in NXT-G)?
  Is there any place with information about this counter? When should I use each of them?
Any information will be apreciated?
Thanks.
			
			
									
						
										
						Rotation Sensor Counters in NXC
Re: Rotation Sensor Counters in NXC
RotationCount is fine, 
the rest is used internally by advanced motor control functions which I personally don't use.
			
			
									
						
										
						the rest is used internally by advanced motor control functions which I personally don't use.
Re: Rotation Sensor Counters in NXC
Thanks, by the time been I will use RotationCount in my initial test.doc-helmut wrote:RotationCount is fine,
the rest is used internally by advanced motor control functions which I personally don't use.
Who is online
Users browsing this forum: No registered users and 6 guests
