Pumpkin, Inc.

Pumpkin User Forums

OS_Delay (5); Problem

If you're interested in purchasing Salvo but have some questions you want answered first, post them here.

OS_Delay (5); Problem

Postby aek » Mon Aug 18, 2008 7:29 am

Again, you're trying Salvo v3 but reading the Salvo 4 User Manual.

In Salvo v3, you need

code:
OS_Delay(5,label);

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: OS_Delay (5); Problem

Postby schmitta » Mon Aug 18, 2008 11:54 am

Hi -- I am using tu5 (copied to my tut5) to try out a OS_Delay(5). I get the following error from Keil's C51 compiler:


..main.c(37): error C307: macro 'OS_Delay': parameter count mismatch

I tried both of the following:

OS_Delay((OStypeDelay)5);
or
OS_Delay(5);

But I still get the error. Am I not able to use OS_Delay() from salvo lite?

APSTRON
P. O. Box 10336
Blacksburg VA 24062-0336
schmitta
 
Posts: 7
Joined: Tue Jul 15, 2008 11:00 pm
Location: Blacksburg VA USA


Return to Pre-Sales Inquiries

Who is online

Users browsing this forum: No registered users and 2 guests

cron