Component: Is Sim (Matrix Tools)
From Flowcode Help
Jump to navigationJump to search
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Matrix Tools |
Contents
Is Sim component
A simple component designed to aid in detecting if the current code is running in simulation or on a microcontroller.
Examples
No additional examples
Downloadable macro reference
Check
Returns 0 if running on an embedded target or 1 if running in simulation runtime.
Parameters
- This macro has no parameters
Return value
- BOOL : Returns true if the operation is a success, else false
Simulation macro reference
This component does not contain any simulation macros
Property reference
Sim
This property is of type True or false and can be referenced with the variable name Sim.
No additional information