Component Creation
From Flowcode Help
Jump to navigationJump to searchComponent Creation Steps
- Creating a Property - How to create a property
- IO Properties - How to create and use IO properties
- Component Configuration - Overview of the component creation panel managers
- Customising A Component - Creating a new customised version of a component
- Assigning Code to an Existing Component - Complementing or overriding an existing components functionality
- Base Components - The base components and their function
- Using CAL Components - Creating a component using CAL functionality (I2C / SPI / UART etc)
- Using A Base Component - Creating a new component using a base component
- New Component Features - Additional component creation features added in Flowcode
Examples
- Exercises - Worked exercises including creating components
- Example - Simple Switch - Creating a simple momentary or latching switch using images to represent switch state
- Example - Number Conversions - Creating a helper component to help convert between number systems Decimal, Hexadecimal and Binary
- Example - Creating a two-wheeled robot - Creating a 2 wheeled robot from scratch (simulation & downloadable)
Exercises
- Create an LED Component - Creating a flowchart revolving around an LED component driven by simulation macros and functions.
- Exporting the LED Component - Exporting and saving the component, including simulation macros and properties and variables.
- Importing the LED Component - Importing the component into a new flowchart and preparing it for testing in simulation.
- Testing an Imported Component - Testing the imported LED by creating a flowchart program to run in simulation to test the component.
- Building a Complex Component - The Traffic Cone - Building and programming a component by grouping multiple elements on the System Panel.
- Exporting the Traffic Cone - Exporting and saving the component, including simulation macros and properties to prepare for testing.
- Importing and Testing the Traffic Cone - Import the component and test it in simulation by calling the previously programmed simulation macro.