Propeller Programing Tutorial
Siri
Posts: 220
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
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
spin
1K
Comments
should be
PUB Toggle(Pin, DelayMS, Count)
·········· Thanks for your help. It worked.
Siri