|
Problems with a pin...
When we were hooking stuff into the robot, we kinda ran out of pins to use (yeah, we have a lot of electrical stuff.. ), and of course digital input 14 went out. Umm.. we've tried lots of stuff.. and we really do need that input! Anyone have any ideas on how to remedy this? In lieu of that, ideas on connecting multiple inputs to the same input pin? Thinking custom circuits right now...
__________________
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
|