gnupic: Re: [gnupic] simulating pic 101 flasher
Subject:
Re: [gnupic] simulating pic 101 flasher
From:
Robert Pearce ####@####.####
Date:
19 Nov 2006 19:10:31 +0000
Message-Id: <bHZY$jAMxKYFFwtB@daniel.huneausware.local>
On Sat, 18 Nov 2006, Maxim Wexler ####@####.#### wrote :
>>
>> Vth=5V Zth=1e+08 ohms Cth=0F nodeVoltage= 2.65V
>> Driving=0 drivingState=0 drivenState=1 bitState=Z
>>
>Hmm, mine's slightly different:
>
>Vth=5V Zth=1e+08 ohms Cth=0F nodeVoltage= 5V
>Driving=0 drivingState=0 drivenState=1 bitState=1
>
>Why not bitState=Z or nodeVoltage=2.65V?
>
Those two lines of the output show the current simulated state of the
pin. The difference in nodeVoltage merely indicates that your simulation
was in a different state when you ran the "symbol" command than Scott's
was when he did it. This could depend on whether you run the command
before or after connecting the LED to the node, or whether you've
stepped the simulation since connecting. In fact I did a quick test and
I got your results up until the TRIS instruction and Scott's afterwards.
--
Rob Pearce http://www.bdt-home.demon.co.uk
The contents of this | Windows NT crashed.
message are purely | I am the Blue Screen of Death.
my opinion. Don't | No one hears your screams.
believe a word. |