PDA

View Full Version : Propeller Programing Tutorial



Siri
01-11-2008, 05:00 AM
I am doing the Propeller Programing tutorial and all went smooth untill I reached Page. 134
The Example Object:Output.spin.
I typed the program exactly as shown and tried to compile it.
It will not complile due to an "error:expected an expression term" on the line _

и " waitcnt(clkfreq/1000*DelayMS +cnt " - the 3rd line before the last line

I am uploading the code as I have typed.

Please help me to solve this.

Thank you,

Siri

Rayman
01-11-2008, 05:10 AM
Well, "DelayMS" is not defined by your code...

Rayman
01-11-2008, 05:14 AM
PUB Toggle(Pin, Delay, Count)

should be

PUB Toggle(Pin, DelayMS, Count)

Siri
01-11-2008, 06:15 AM
Rayman,

ииииииииии Thanks for your help. It worked.



Siri