hmmm
rjo__
Posts: 2,114
in Propeller 2
I'm having problems with both REP... and INA on both de2-115 and P123 A7. I have modified my code to output binary longs to Proptool's Terminal. In rep.jpg I am sending a patterned binary... in response to me typing an "i" into the terminal.
Notice that it repeats indefinitely... whereas in my code it should just output the number once.
In INA.jpg, I am trying to output the value of INA... and get all 1's, when some of them should be zeroes:)
In the what.jpg... I insert an arbitrary line after the end of the repeat loop... and then it only outputs two 1's each time I enter "i." even though it should repeat at least 30 times and give me something each time.
Normally, I am sending serial to a diy terminal and that is when I found the problem with INA... in trying to get something that could be used without my terminal, I generated this code and along the way found a problem with REP.
Notice that it repeats indefinitely... whereas in my code it should just output the number once.
In INA.jpg, I am trying to output the value of INA... and get all 1's, when some of them should be zeroes:)
In the what.jpg... I insert an arbitrary line after the end of the repeat loop... and then it only outputs two 1's each time I enter "i." even though it should repeat at least 30 times and give me something each time.
Normally, I am sending serial to a diy terminal and that is when I found the problem with INA... in trying to get something that could be used without my terminal, I generated this code and along the way found a problem with REP.
Comments
You cannot use CALLs/JMPs in a REP loop
What's the deal with INA?
I have no problem transmitting any other long:)
Here's the code used.
Pins were pulled down to GND via resistor and all pins checked out OK.
I'm curious what results you get running the same code.
I wasn't pulling anything low.
wow