PE6.0.9.3 @ptrinc simulation

techElder

Well-known member
The same problem occurs if you use SPIOUT.

It doesn't matter if you use ptrinc or bptrinc.

I also ran into this with my recent wanderings into the world of SPI. :D
 

Technical

Technical Support
Staff member
Because the simulation doesn't have any meaningful data to use, it doesn't currently actually do any write to the variable. However this in turn means that the ptr doesn't increment in the simualtion. We've changed this for the next release so at least the ptr now increments.
 

Buzby

Senior Member
That's good to know.

It is important that the simulator increments the ptr, even though the @ptr data is not used, because further code may depend on the value of ptr.

Will the next release of PE6 also have the 20X2 #slot 4 problem fixed as well ?

Cheers,

Buzby
 
Top