Thread: Counter chips
View Single Post
  #8   Spotlight this post!  
Unread 11-02-2003, 00:00
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
dude.. people are reading my mind! im so scared..

yeah, thats kinda what we were planning for our wheel revolution counters... , but using a D-A chip instead.. and I haven't had time to play with it yet so it probably wont end up on the robot this year.. oh well. Probably we'll just end up using our wheel revolution thingies to see if the robot is moving or not..
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}

Visit my completely useless website! http://randomperson.cjb.net

Last edited by randomperson : 11-02-2003 at 00:03.