Why are these output pins changing state ?
retromicro
Posts: 24
in Propeller 1
Hi
Here's some code and output from the scope.
I'd not expect either the top or bottom traces to change but they do.
The purple trace is connected to P2 (DataPin). I'd expect this to stay high.
The light blue trace is connected to P5. I'd expect this to stay low. In fact, P3 to P6 are all changing state.
I'm pretty sure it's a silly mistake but I can't see the wood for the trees.
Any ideas please ?
Thanks
Here's some code and output from the scope.
I'd not expect either the top or bottom traces to change but they do.
The purple trace is connected to P2 (DataPin). I'd expect this to stay high.
The light blue trace is connected to P5. I'd expect this to stay low. In fact, P3 to P6 are all changing state.
I'm pretty sure it's a silly mistake but I can't see the wood for the trees.
Any ideas please ?
Thanks
Comments
Not hard to believe. This processor is way different to the 6502 and Z80 but I will get there.
Good community support here though thanks guys :-)
But that octothorpe thing is all about the assembly language syntax not the actual processor architecture.
Which is not a complaint about Spin/PASM. Every programming languages has its gotchas. Like writing "if (x=y)..." in C instead of "if (x == y)..."
One just has to know this stuff.