View Single Post
  #8   Spotlight this post!  
Unread 07-12-2006, 22:50
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Auto mode... need help

Quote:
Originally Posted by teh_pwnerer795

no problem for the post... im sorta confused.. if the computer cycles at 26.2 ms... will it not cycle rougly 38 times in a second?

if so... your code.. where 'i' is increased by 1 every cycle, when it reaches 1 second.. i == 38.....

if so... time == 4 roughly at 1 second... shouldnt u divide it by 4? to get 1 second??? srry if i confused you


lol srry just trying to understand the logic behind 'time'

OMG i am such an idiot I GET IT NOW SOO SRRY hm.. another question... how do i round? i remember doing it in java... not suer if its the same in C
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source