Thread: Counter chips
View Single Post
  #3   Spotlight this post!  
Unread 09-02-2003, 23: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
here's the simplest idea in the world:

555 timer chip.

There are examples all over the net on how to wire one up, just hook it up to an input pin and you're set. the main advantage to this is:

a) very simple
b) all the counting can be controlled using software
__________________
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