Simulation of PIC ?

S

sunny

Guest
I need to simulate a pic program. My ports are connected
to a seven segment display led which can display numbers
from 0 to 9. I am currently having to physically program
the chip to see what is happening, but is there a way I can
make the simulator show the led ?
 
See:

http://www.oshonsoft.com/pic.html


On Sun, 7 Sep 2003 19:27:48 +0000 (UTC), "sunny"
<nomail@btinternet.com> wrote:

I need to simulate a pic program. My ports are connected
to a seven segment display led which can display numbers
from 0 to 9. I am currently having to physically program
the chip to see what is happening, but is there a way I can
make the simulator show the led ?
 
The led can display the real numbers, i.e. I can write a simple
program that will count from 1 to 9 and I will see it on the
7 segment led display. I have no chip between the pic and
the display so I simply turn on the relevant ports which are
connected to segments a to g of the led. The problem is to
simulate this, since it is rather difficult to see what number
is illuminated just from inspecting the outputs, do you know
what I mean?

"Jan-Erik Söderholm" <aaa@aaa.com> wrote in message news:3F5B8853.D17619E7@aaa.com...
The MPSIM can display the output pins of your PIC.
If you have anything else between your PIC and the display
(such as a 4-bin-binary -> 7-segmend-display encoder), the
MPSIM can not show the output of that.

What do you mean with "show the led" ?

Jan-Erik.

sunny wrote:

I need to simulate a pic program. My ports are connected
to a seven segment display led which can display numbers
from 0 to 9. I am currently having to physically program
the chip to see what is happening, but is there a way I can
make the simulator show the led ?
 
sunny wrote:
The problem is to
simulate this, since it is rather difficult to see what number
is illuminated just from inspecting the outputs, do you know
what I mean?

Yes, but don't worry,
after a while you'll learn to "read" the "segment output" :)

Jan-Erik.
 

Welcome to EDABoard.com

Sponsor

Back
Top