On Fri, 11 Sep 2009 21:38:27 +0200, Alan Grimes
wrote:
> I'm a bit too lame to do this myself, but I need a Property set up so
> that I can change the new m_pol variable in SVN head (ECSRFlipFlop).
>
> I need it to further improve my DAC circuit. =P
>
> Ideally, the graphic would also display a
P Zoltan wrote:
> On Fri, 11 Sep 2009 21:38:27 +0200, Alan Grimes
> wrote:
>> I'm a bit too lame to do this myself, but I need a Property set up so
>> that I can change the new m_pol variable in SVN head (ECSRFlipFlop).
>> I need it to further improve my DAC circuit. =P
>> Ideally, the graphi
Hi list...
This comes from the help forum:
Zoltan said:
*"In ktechlab's source you can find in /src/electronics/port.h and .cpp the
implementation. *
*As I see, reading and writing is done by calling ioctl on the device. *
*I don't know if setting the voltage on the port and seeing the change
> I'm thinking in not simulate PIC but run the code in a real pic and
> conect it to a virtual circuit through parallel port. I did a try with a
> real pic managing a virtual led in kltechlab through serial port,
> working ok; but serial has just a few lines, with parallel i could
> interface two w
Comes from help forum:
"...as currently the part of ktechlab that describes what PICs are supported
is quite messy."
If you have an idea about how it should be, i can try the work.
About what pics are supported i only can find src/micro/picinfoXXbit.h
there are the pic classes and what kind of s
No... is not a rs232 comunication... no protocol... you can just set or
clear a pin, just like an electric conection. It can work just like a wire.
2009/9/15 Alan Grimes
> > I'm thinking in not simulate PIC but run the code in a real pic and
> > conect it to a virtual circuit through parallel po
Ok... found the parallel port inputs (status) error.. the setHigh()
operation was ORed with the readed value but it should be ANDed... now
seting or clearing status pins in the real port is shown in ktechlab and can
be conected to a ktl circuit... lets do some testings... :)
About the serial port
I went and figured out (again) how to add a property, I went ahead and
solved my own todo on the SR flip-flop.
The damn thing sometimes works!!! =(
I mean I went into my DAC circuit and replaced 16 NAND gates with 8 SR
flipflops, set the polarity to NAND, and half of them do exactly what I
wanted
I think today is my lucky day... i should buy lottery.. :)
Found the problem with interrupts that didn't work in ktechlab but work in
gpsim.
I think now the pic simulation is faster and my PC's processor doesn't speed
up.
With a pic program coded at 4MHz, ktechlab simulates it at near
real-time.