Go to Post You are not allowed to think outside of the box, but you are allowed to think diagonally in the box. - eugenebrooks [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 09-02-2003, 23:31
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
Ohhhh... you already thought of that.. lol. yeah,im great at interpreting this stuff..

What we did was hook the 555 into one of the digital inputs and just stuck this into the main program loop..

timer_in VAR rc_sw1
timer VAR byte
last_time VAR misc_varible.bit0


if timer_in <> last_time then
timer = timer + 1
last_time = timer_in
endif

Hmm.. im sure you can do that in a PIC too somehow..
__________________
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
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
drills and chips Ben.V.293 Technical Discussion 1 07-11-2003 13:11
2003 Drills and Chips Chris Motors 3 12-10-2003 19:02
Microsoft Launches Counter Switch Campaign, Then Takes It Away. Joe Matt Chit-Chat 11 17-10-2002 15:53
Counter loop archiver 2001 3 24-06-2002 00:44
Voodoo Gyro Chips... Ghetto_Child Technical Discussion 3 01-02-2002 16:39


All times are GMT -5. The time now is 05:59.

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