Problems with Editor 6.0.8.7

thunderace7

New Member
I've just started using Editor 6.0.8.7 and I'm having trouble with simulating a 28X1 in that I can't seem to be able to make Port C act as outputs. The program works ok with a real chip but not in the simulator. It's making it very difficult to debug the program.
I also can't see how to set the value of an analogue input.
Any help would be greatly appreciated. Thanks.
Chris.
 

Technical

Technical Support
Staff member
Analogue values can be set two ways:

1) Right click over the pin on the simulation diagram and select the radial slider
2) Use the byte value on the second 'values' tab in the simulation panel

What commands are you using for portC?
 

thunderace7

New Member
Hi Technical, thanks for this.
I can now enter ADC values by right clicking the portA pins but the Values tab only gives me options for portC pins.
I am using:
let dirsc=%11111111 ; set portC to outputs
let pinsc=%00000000 ; set portC outputs low

Thanks.
 

Technical

Technical Support
Staff member
Yes, there are a couple of bugs simulating the 28X1 portC pins as outputs - thanks for letting us know. We will fix the simulation for the next release, as well as making portA pins visible in the Values tab.
 
Top