Common Components

From Flowcode Help
Jump to navigationJump to search

Components commonly used in Flowcode, such as; Switches, LEDs, LCDs, 7 Segment Displays and Keypads all have a good range of components for suitable use in different fields and systems as well as strong base components to expand and create your own components for specific systems or for use across different systems and platforms.


In Depth Component Help and Examples.


The Switch components are the simplest type of component available, they are used as triggers to send a command in a program, e.g. an on or off switch to initialize and disable or stop a program, process or system. Switch components come in two types; 'latching' such as an on/off switch or toggle switches, and 'momentary' such as a push button switch or a push-to-make switch.

Gen Assortment Of Switches 01.png


Light-emitting diode (LED) components are also commonly used and are often matched / coupled with switch components to indicate if an element is powered on or functioning correctly. LEDs are mostly used as indicators in common applications and systems such as traffic lights and car indicators which are visual ques and indications to convey direction and processes.

Gen Assortment Of LEDs 01.png


Furthermore liquid-crystal display (LCD) components are used in a similar way to indicate processes albeit more clearly, displaying information such as the function or process of a DVD player e.g. opening and closing the disc tray, reading the disc, changing volume etc. or displaying ongoing information such as the time and date and other information such as news or current information.

Gen LCD Hello World 12345.png

The seven-segment display (SSD) displays are also used to convey information albeit less complex then the LCD, this component can clearly and simply display numbers with ease. It has great compatibility within Flowcode as it is controlled simply by inputting the digit to be displayed and a digit to enable/show or disable/hide the decimal point on the display. The component also works with variables instead of simply the digit, this allows other components to manipulate this variable to change the digit to be displayed by the 7 Segment Display.

Gen 7Seg Single Labelled 03.png

Finally, the Keypad component is the most effective component for inputting data such as variables in order to manipulate and operate other components interactively using variables to transfer the data. The Keypad Base component has a basic set of numbers (0-9) as well as A and B digits, if programmed correctly a keypad component can write alphabetical letters, numerical digits as well as ASCII symbols which can then be used to transfer the data for a different component to display for example, an LCD which can display an array of different data and information such as; strings, alphanumerical digits and characters as well as ASCII symbols and data.