Difference between revisions of "Mixly Block Category - Factory"
From Microduino Wiki
(→Call a Function with Parameter(s)) |
(→Declare a Variable with a Type) |
||
Line 12: | Line 12: | ||
=Declare a Variable with a Type= | =Declare a Variable with a Type= | ||
+ | This block allows the declaration of variables. | ||
+ | *Data Type - the type of Data Type for the variable being declared. | ||
+ | *Variable Name - the name of the variable being declared. | ||
+ | |||
+ | |||
+ | Read more here: https://www.arduino.cc/en/Reference/VariableDeclaration | ||
+ | |||
=Call Member Function of a Variable= | =Call Member Function of a Variable= | ||
==With Parameter(s)== | ==With Parameter(s)== |
Revision as of 01:00, 28 February 2017
Contents
Include a Library
This block includes a library. A library is a file that contains code for functionality.
- Library Name - the name of the Library file. Usually the class name.
Read more here: https://www.arduino.cc/en/reference/libraries
Call a Function with Parameter(s)
This calls a Function / Procedure with parameter(s) or without. The number of parameters is configurable using the gear icon.
- Function Name - the name of the Function / Procedure to be called.
- Parameters / Input Variables - variables, statements or constants that will be passed to the Function / Procedure.
Declare a Variable with a Type
This block allows the declaration of variables.
- Data Type - the type of Data Type for the variable being declared.
- Variable Name - the name of the variable being declared.
Read more here: https://www.arduino.cc/en/Reference/VariableDeclaration