Exercise - Exporting the LED Component

From Flowcode Help
Revision as of 20:35, 21 May 2013 by JohnVerrill (talk | contribs)
Jump to navigationJump to search
  • Move the mouse cursor over the System Panel, and right-click.
  • Select the option 'Export component'. The Component Management dialogue box opens. This replicates the settings, 'Settings Manager', 'Interface Manager' and 'Resources Manager' available on the Panel Properties.
  • Configure this for the LED component.
  • In particular, click on the 'Interface' tab, and set the 'LEDoff' and 'LEDon' macros as 'Simulation' macros. The 'PinChange' macro is a 'Hidden' macro.
  • Click on 'OK'.
  • You may be asked if you want to save the current flowchart. Do so if you wish.
  • The 'Save As' dialogue box opens. Choose a destination and a suitable name for the component.
  • Click 'Save'. The component file is saved with a '*.fcpx' extension.