Jump to content

C Code Simulation: Difference between revisions

From Flowcode Help
No edit summary
DanielM (talk | contribs)
No edit summary
Line 3: Line 3:
[[File:CSimButton.jpg]]
[[File: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.
By default no C code will be simulated until the C Simulation button is enabled. C Code icons will simply be skipped by the simulator.


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

Revision as of 14:45, 23 May 2018

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.

By default no C code will be simulated until the C Simulation button is enabled. C Code icons will simply be skipped by 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.

C Simulation Example


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