15 lines
252 B
Plaintext
15 lines
252 B
Plaintext
func TMS_sim_simple_dend(){ localobj nil, detector
|
|
dend detector = new NetCon(&v(0.5), nil)
|
|
detector.threshold = 0
|
|
detector.record("handle()")
|
|
|
|
init()
|
|
tstop = 2
|
|
run()
|
|
return fired
|
|
}
|
|
|
|
proc handle(){
|
|
fired = 1
|
|
stoprun = 1
|
|
} |