ABOUT "DO WHILE..LOOP" for PropBASIC
caskaz
Posts: 957
Hi, everyone.
I think that logic is reverse on "DO WHILE..LOOP" for PropBASIC.
I think P16 is on when P0 = low below;
But P16 is on when P0 = high.
Same as DO UNTIL...LOOP.
My mistake?
Post Edited (caskaz) : 3/29/2010 4:15:58 AM GMT
I think that logic is reverse on "DO WHILE..LOOP" for PropBASIC.
I think P16 is on when P0 = low below;
But P16 is on when P0 = high.
Same as DO UNTIL...LOOP.
My mistake?
.... .... P0 PIN 0 P16 PIN 16 LOW Main: P16 = 0 DO WHILE P0 = 0 P16 = 1 LOOP ...
Post Edited (caskaz) : 3/29/2010 4:15:58 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
I think that P16 = 1 during P0 = low.
But P16 is on during P0 = high.
I think logic is reverse.
My thinking is wrong?
Post Edited (caskaz) : 3/29/2010 10:59:00 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
T o n y
It should be corrected in the next release of PropBASIC.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
·
I wait to expect next release.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information