|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
loop problems
Hey guys,
I had some problems using the timers and I need something that will take time asap, so I did this: Code:
void pulse(void)
{
pwm06=255;
for (int i=0;i<30;i++)
{
if (i == 29)
{
pwm06=127;
}
}
}
It will take about 0.5 second right? anyways I get a syntax error, can somebody help me? Thanks! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loop time for OperatorControl function? Debug blows... | Chris_Elston | Programming | 10 | 13-02-2006 14:42 |
| Anyone Else Having Problems with Q&A on FIRST? | Windwarrior | General Forum | 6 | 25-01-2006 10:54 |
| While Loop Require in OperatorControl? | Chris_Elston | Programming | 2 | 15-01-2006 14:29 |
| Rewriting main loop | Max Lobovsky | Programming | 4 | 04-01-2005 18:35 |
| laser radar with BS2p using RS232 problems... | chei_UCF19 | Programming | 6 | 26-02-2004 15:21 |