Error in Propeller Manual
BTX
Posts: 674
Hi all.
I post this here, because could be a headache for some begginers.
In Propeller manual page 327 said about waitpeq:
waitpeq(%100000, 5, 0)·· 'Wait for pin 5 to go high.
waitpeq(%000000, 5, 0)·· 'Then wait for pin 5 to go low.
This is incorrect, must say:
waitpeq(%100000, |< 5, 0)·· 'Wait for pin 5 to go high.
waitpeq(%000000, |< 5, 0)·· 'Then wait for pin 5 to go low.
Instead, in example the line: waitpeq(%000000, 5, 0)· ' Waits for pins P0·'AND' P1 to go low.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
I post this here, because could be a headache for some begginers.
In Propeller manual page 327 said about waitpeq:
waitpeq(%100000, 5, 0)·· 'Wait for pin 5 to go high.
waitpeq(%000000, 5, 0)·· 'Then wait for pin 5 to go low.
This is incorrect, must say:
waitpeq(%100000, |< 5, 0)·· 'Wait for pin 5 to go high.
waitpeq(%000000, |< 5, 0)·· 'Then wait for pin 5 to go low.
Instead, in example the line: waitpeq(%000000, 5, 0)· ' Waits for pins P0·'AND' P1 to go low.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
Comments
-Stephanie Lindsay
Editor, Parallax Inc.
Also my congratulations...your work is enough good with propeller support.
Only an idea...Could all the errata-sheet, be included in the Prop Manual (pdf format) ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
Thanks for your kind words!·
Since the Propeller chip is·still new, we need to add information and make corrections to the manual frequently.· In fact, the supplement and errata sheet·has been updated twice already and we will be making a third update soon. We do not want to print the current· sheet and add it to kits, since it might be outdated by the time it reaches the customer.· So, in our books we direct the customer to look for the most recent errata sheet on our website.· It is here, under the Propeller Manual heading:
http://www.parallax.com/propeller/downloads.asp
Thanks,
-Stephanie Lindsay
Editor, Parallax Inc.