Jump to content

Exercise - Using Simulation Macros: Difference between revisions

From Flowcode Help
No edit summary
Replaced content with "For an excellent introduction guide, we recommend [https://www.flowcode.co.uk/education/ Introduction to microcontroller programming]"
Tag: Replaced
 
(83 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Simulation macros are a form of Component macros. Their purpose is to make simulation more realistic by adding physical components to the electronic devices.
For an excellent introduction guide, we recommend [https://www.flowcode.co.uk/education/ Introduction to microcontroller programming]
 
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.
 
 
__TOC__
 
 
==Why would you want to?==
 
* Flowcode
 
* Experienced
 
* Students
 
==Adding supplementary code==
 
This feature
 
'''Definitions and function declarations:'''
 
This is
'''Function implementations:'''

Latest revision as of 13:23, 25 April 2023

For an excellent introduction guide, we recommend Introduction to microcontroller programming