gnupic: gpsim: Stimulus not working :(
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