Exercise - Using Simulation Macros

From Flowcode Help
Revision as of 17:35, 23 August 2013 by JohnVerrill (talk | contribs)
Jump to navigationJump to search

Simulation macros are a form of Component macros. Their purpose is to make simulation more realistic by adding physical components to the electronic devices.

When the Flowcode program is compiled and downloaded to a microcontroller, they are ignored - hence the name Simulation macros.

Even a cursory glance at the dialogue box used to configure them shows that they are very powerful devices, with a huge range of possible effects.

This exercise uses two of them to illustrate the use of a PIR (passive infra-red sensor) to operate an intruder sensor.



Why would you want to?

  • Flowcode
  • Experienced
  • Students

Adding supplementary code

This feature

Definitions and function declarations:

This is

Function implementations: