View Single Post
  #2   Spotlight this post!  
Unread 08-02-2002, 21:14
Radiant Phoenix's Avatar
Radiant Phoenix Radiant Phoenix is offline
Registered User
#0481 (DART)
 
Join Date: Jan 2002
Location: Richmond, Ca
Posts: 17
Radiant Phoenix is an unknown quantity at this point
Quote:
if p1_sw_top = 0 then turn:
if count1=1 then left:
relay1_fwd = 0
relay1_rev = 1
count1 = 2
left:
if count1=2 then right:
relay1_fwd = 1
relay1_rev = 0
count1 = 1
right:
turn:
Ummm, looking at it, I can't see any problems, except for the 2. The values have to be 1 or 0 or it doesn't work. If your adding or subtracting its a different story of course.

What is changing the value of count1?

Athena

__________________
"Not all those who wander are lost." ~J.R.R. Tolkien~
" 'I wonder if they do exist...'
'Who?'
'The Elves.'
'Of course they exist- I'm the First one.' "
~The Vendori Chronicles; By Athena~


De Anza Robotics Team