View Single Post
  #6   Spotlight this post!  
Unread 27-02-2014, 13:35
ashb1025 ashb1025 is offline
Registered User
FTC #6095
 
Join Date: Feb 2014
Location: New Castle, IN
Posts: 11
ashb1025 is an unknown quantity at this point
Re: FTC Block Party IR-Sensor

I was thinking it would be something like this but I don't know for sure
Code:
task main()
  {
    if (conditional1(sensor)==2)
     {
       if(conditional2(sensor) > 100)
         {
           //run bucket commands
         }
       else
        {
          //move on to next bucket
         }