Thread: PBasic Help
View Single Post
  #3   Spotlight this post!  
Unread 14-01-2003, 17:15
n[ate]vw's Avatar
n[ate]vw n[ate]vw is offline
Registered User
#0933 (Adler Attack)
 
Join Date: Jan 2003
Location: Rockford, IL
Posts: 48
n[ate]vw is an unknown quantity at this point
Send a message via AIM to n[ate]vw
Because your program must loop repeatedly, you will have to store, in a variable or in the extra RAM, a number that will tell you what state your program should be in.
For example, the first time it detects the button, it would start moving the arm, and store a value so that the next time your program goes through the loop, it will do the next operation (or wait a few loops first). I think the RC is designed to loop about 25 times/sec. You can't pause during a loop to wait for your arm to close or something, or you will start dropping packets and wind up with an error, most likely.

Hope this helps.
__________________
Adler Attack #933 -- Trigos

Last edited by n[ate]vw : 14-01-2003 at 17:29.