Go to Post Beware of the following: boredom intelligence = ??? <- could be anything... - JBotAlan [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2003, 13:52
Ephi Ephi is offline
Registered User
#0144 (WHO?)
 
Join Date: Jan 2003
Location: Cincinnati, OH
Posts: 6
Ephi is an unknown quantity at this point
Send a message via ICQ to Ephi Send a message via AIM to Ephi
Count Limits?

Is there any limit to how high the controller can count?

I'm working on a system that will end up counting probably closer to 2000, but im wondering if its going to cut me off at 255 or anything. Anyone know?

Thank you.
__________________
Brian J. Celenza
Team 144 - WHO?
Cincinnati, OH

Webmaster - http://team144.mdreamworks.net
  #2   Spotlight this post!  
Unread 04-02-2003, 14:25
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
word = 65536

It's possible to count up to 65536 numbers (range from 0 - 65535) if you use a word. A word is 16 bits so you get up to 2^16 numbers.

Technically all you need are 11 bits, that will get you 2048 numbers. If you're hurting for space you can use a byte and a nibble and do some creative incrementing.

If you want to know more just say so, a lot of people here can help.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this a useless post meant only to boost my post count??? Robby O Chit-Chat 20 15-07-2012 21:01
Does it count? PureMachine4 General Forum 1 18-03-2003 22:21
Does a stack count if the opponent's robot is touching it? Jessica Fusher Rules/Strategy 1 08-01-2003 22:04
Team party limits at Buckeye regional Mike Martus Regional Competitions 8 02-03-2002 09:00
Seizing Self Defense: What limits? (Rules of Engagement) kmcclary Rules/Strategy 19 28-02-2002 20:04


All times are GMT -5. The time now is 10:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi