Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

Slowing it Down

<^< High Speed Simulation | Course Index | New Output >^>

When you pressed the 'Play' button the program was over in a flash. This is one of the great things about microcontrollers: they work really fast. In later programs you will learn to slow microcontrollers down with delays or loops so that they go at the speed that humans can cope with. But to debug your programs you will need a way of slowing the simulation down.

Stepping Through Your Program:

Fortunately Flowcode has a feature you can use to step through your program icon by icon. If you select the 'Step Into' button on the menu toolbar then you will see that Flowcode will step through your program icon by icon. This will slow your program down and you will be able to see the effects on your virtual system of each icon. As you step through the program you will see a red rectangle around each icon: this indicates which icon will be executed next time you click on the 'Step into' icon as you can see here:

<^< High Speed Simulation | Course index | New Output >^>

Print - Search - Login

Page last modified on May 01, 2013, at 12:42 PM