View Full Version : READ Location, Variable

Jack Jordan
08-31-2008, 06:40 AM
New to this program stuff. Tryingˇsend data out using the OUTL directive. While testing in Proteus using the BS2e moduleˇit appers the data doesnt move until the following command is executed. Don't understand when PBasic actually moves the data.
Thanks for any help Jack

Mike Green
08-31-2008, 06:52 AM
You can't use Proteus as an accurate guide for the actual behavior of a Stamp. PBasic executes the current command, then moves on to the next one. Input and output take place during the command performing the input or output.

Jack Jordan
08-31-2008, 07:05 AM
I understand that accuracy of how the stamp behaves in software simulation doesn't guantee the real world. However experance with Proteus 7 Professional/ISIS Pro and ARES I have found that the real world is close enough to nail down a design before I go to the breadboard. One program outputs (Steps DATA %1100, %0110, %0011, %1001) for stepper motor control seamingly as soon as the instruction runs and another program seems to lag. Could I have found a short comming in Proteus?

Mike Green
08-31-2008, 09:11 AM
I've never used Proteus's system although I've read their webpage description. If what you describe is truly happening, then you've found a behavior that doesn't fit the behavior of the actual Stamp. Whether that's a shortcoming is a matter of opinion after a good reading of Proteus's manuals.