View Single Post
  #23   Spotlight this post!  
Unread 21-01-2003, 17:22
rust710's Avatar
rust710 rust710 is offline
Registered User
#0862 (Lightning Robotics)
 
Join Date: Dec 2002
Location: Canton, MI
Posts: 103
rust710 is an unknown quantity at this point
Send a message via AIM to rust710
Well I tried it and it just returns a 0. Which actually is fine. The Stamp will return a 0 if the code is executed in 26ms or less. So my code works fine. delta_t has to be declared and is in the serin so it acts like a varible not set.

One thing that you program doesn't support is toggle. For example toggle 15 changes the state for one of the relay lights. Really same as out15 = ~(out15).

I really like your program. I have been using it even when I have a robot controller because it is easier to setup.