Hi guys, I'm currently using the timers that you can use in robotc time1[T1],time10[T2],etc.

My question here is what happens when the timer reaches it's limit?, I know the limit value that they can take (timer1,time10,,time100) is 32768, but do I need to reset the timer afterwards or can I leave the timer like that untill I need to reset it for another function that ocuppies the same timer, this meaning that the the limit is only of the especific array (time1,time10,time100) and not the timer itself.

Sun Oct 27, 2013 1:41 pm

Ernest3.14

Professor

Joined: Sat May 18, 2013 1:24 pmPosts: 271Location: Olympia, WA

Re: Limit of timers in RobotC

When it goes over 32768, it goes to -32768 and starts again. So as long as you don't read from it, you don't need to reset it. I don't think each array has a different timer; they all share one.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum