C Code Simulation

From Flowcode Help
Revision as of 09:33, 10 May 2018 by BenR (talk | contribs) (Created page with "Flowcode can simulate C code inside of C Code icons by using the C Simulation button. The C Simulation button can be found on the main toolbar and via the DEBUG menu. [[File:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Flowcode can simulate C code inside of C Code icons by using the C Simulation button. The C Simulation button can be found on the main toolbar and via the DEBUG menu.

CSimButton.jpg

By default no C code will be simulated until the C Simulation button is enabled. C Code icons will simply be skipped from the simulator.

The C Simulation button is enabled when the button icon is highlighted by a bounding square.


Example

Here is an example program that counts up and down in binary using Port A and a Combo Board component to show the LED signals.

CSim.jpg


The C Simulation feature is similar to the C Code to Flowchart Conversion feature that converts C code into Flowchart icons.