Pulsin problem

ARTAUD

New Member
Hi,

I use Yenka flowchart to simulate and I have a problem with
PULSIN Command.


http://www.imageshotel.org/images/toto1/probleme.jpg

This is 2 PICAXE 14M

When I simulate, T value is always 136. I try to change X value but
T value is always 136.
I don't understand where is my mistake.

Thanks for your help.
Anthony, a french technology teatcher (sorry for my english)
 

Andrew Cowan

Senior Member
Can you show us a photo of how it is wired? Or is it just being simulated?

It sounds like the pulsin may be timing out - add a 'wait 0.5s' after the 'set x to 30'.

A
 

Dippy

Moderator
I can't explain 136 all the time.

However, try taking any Pauses or Waits out of Flowchart_2.

ALSO, in Flowchart_2 try making T a Word sized variable and tell us what happens then.


Could it be a simulation fault(?).
I have yet to see a perfect simulation.
 
Top