Go to Post Stand strong mentors. You never know who you have become a brother, sister, father, or mother to. - MysterE [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
  #4   Spotlight this post!  
Unread 28-01-2008, 13:49
programmr's Avatar
programmr programmr is offline
Registered User
AKA: Face
FRC #0522
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Staten Island, NY
Posts: 83
programmr is a jewel in the roughprogrammr is a jewel in the roughprogrammr is a jewel in the rough
Send a message via AIM to programmr
Re: Program a motor to turn on and off every other second.....

It's me using two members' names because i didnt have my own... sorry if i confused you. I'd like to thank you for the code given above. Theres only one thing though, it says syntax error....

void code()
{ IT SAYS THIS IS AN ERROR!!!
static byte loops = 0; // which loop are we on?

Do you know what could possibly be the problem? Thank You.
 


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
Turn off outlining? Justin M. Inventor 11 01-02-2007 09:16
How fast does the Solenoids turn on and off? Generalx5 Robotics Education and Curriculum 2 26-01-2007 01:09
Anyone know how fast the Solenoids on the MINI RC can turn on and off? Generalx5 Control System 1 06-01-2007 07:39
Program machine to turn and stop CharlieWilken Programming 1 19-02-2004 12:50
hanging off off other robots that are hanging off the horiz bar Andrew Dahl Rules/Strategy 15 12-01-2004 19:14


All times are GMT -5. The time now is 20:06.

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