Difference between revisions of "Component Creation"
From Flowcode Help
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | == | + | ==Component Creation Steps== |
*[[Creating_a_Property|Creating a Property]] - How to create a property | *[[Creating_a_Property|Creating a Property]] - How to create a property | ||
*[[IO_Properties|IO Properties]] - How to create and use IO properties | *[[IO_Properties|IO Properties]] - How to create and use IO properties | ||
Line 15: | Line 15: | ||
*[[Number_Conversions|Example - Number Conversions]] - Creating a helper component to help convert between number systems Decimal, Hexadecimal and Binary | *[[Number_Conversions|Example - Number Conversions]] - Creating a helper component to help convert between number systems Decimal, Hexadecimal and Binary | ||
*[[Creating_a_two_wheeled_robot|Example - Creating a two-wheeled robot]] - Creating a 2 wheeled robot from scratch (simulation & downloadable) | *[[Creating_a_two_wheeled_robot|Example - Creating a two-wheeled robot]] - Creating a 2 wheeled robot from scratch (simulation & downloadable) | ||
+ | |||
+ | ==Exercises== | ||
+ | *[[Exercise - Create an LED Component | Create an LED Component]] - Creating a flowchart revolving around an LED component driven by simulation macros and functions. | ||
+ | *[[Exercise - Exporting the LED Component | Exporting the LED Component]] - Exporting and saving the component, including simulation macros and properties and variables. | ||
+ | *[[Exercise - Importing the LED Component | Importing the LED Component]] - Importing the component into a new flowchart and preparing it for testing in simulation. | ||
+ | *[[Exercise - Testing an Imported LED Component | Testing an Imported Component]] - Testing the imported LED by creating a flowchart program to run in simulation to test the component. | ||
+ | *[[Exercise - Building a Complex Component | Building a Complex Component - The Traffic Cone]] - Building and programming a component by grouping multiple elements on the System Panel. | ||
+ | *[[Exercise - Exporting the Traffic Cone Component| Exporting the Traffic Cone]] - Exporting and saving the component, including simulation macros and properties to prepare for testing. | ||
+ | *[[Exercise - Importing and Testing the Traffic Cone| Importing and Testing the Traffic Cone]] - Import the component and test it in simulation by calling the previously programmed simulation macro. |
Revision as of 13:01, 3 May 2023
Component 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.