gnupic: gpsim: Stimulus not working :(


Previous by date: 9 May 2005 20:05:14 +0100 gpsim font problems, Peter Onion
Next by date: 9 May 2005 20:05:14 +0100 Re: [gnupic] gpal examples, Gordon Williams
Previous in thread:
Next in thread:

Subject: gpsim: Stimulus not working :(
From: Peter Onion ####@####.####
Date: 9 May 2005 20:05:14 +0100
Message-Id: <1115665486.10558.30.camel@ratbert.alien.bt.co.uk>

I can't seem to get a stimulus to work...
I'm using gpsim 0.21.4 from CVS today
here is the stimulus definition, but when I run my code portb bit zero
is always 0.  I've set TRISB and the bread board shows the pin as an
input.  Should it change to red when it has a "1" because it is always
green.


load s prog1.cod
frequency 3276800
node data1
stimulus sqw
initial_state 1
start_cycle 100
period 100
high_time 50
phase 0
#port portb 0
end
attach data1 portb0

Peter


Previous by date: 9 May 2005 20:05:14 +0100 gpsim font problems, Peter Onion
Next by date: 9 May 2005 20:05:14 +0100 Re: [gnupic] gpal examples, Gordon Williams
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.