Go to Post I'd love to see a simple, robust system that connects quickly and dependably. - Andy Baker [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 16-01-2008, 15:27
Vanquish Vanquish is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 1980
Location: Somewhere
Posts: 19
Vanquish is an unknown quantity at this point
Re: Autonomous mode does not work

Quote:
while(rc_dig_in01)
{
if(pwm01==127)
{
pwm01=254;
pwm02=254;
}
else
{
pwm01=127;
pwm02=127;
}
}
/*
if(rc_dig_in02)
{

if(pwm01==127)
{
pwm01=0;
pwm02=254;
}
else
{
pwm01=127;
pwm02=127;
}

}
if(rc_dig_in03)
{

if(pwm01==127)
{
pwm01=254;
pwm02=0;
}
else
{
pwm01=127;
pwm02=127;
}

}

*/
When we uncomment the rest of this code we get a program error, an the program light on the RC turns red and nothing works. Any ideas?

p.s. i work with sunny
 


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
Arcade Mode (12) does NOT work jakk Programming 2 10-07-2006 19:27
Camera does not search in autonomous mode after reset Keith Watson Programming 17 07-03-2006 00:42
How does disabled mode work? gnirts Programming 5 13-02-2006 11:47
Anyone get Autonomous mode to work? Larry Barello Control System 4 13-01-2004 15:15
Chaos theory does not work!!!!! S9ar7acu3 General Forum 3 09-02-2003 11:46


All times are GMT -5. The time now is 17:30.

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