|
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
|